C++11: first set of changes for decltype.

Change-Id: I49d6ff7eb1805cd07bdfcb27bb37d4c6cadc9115
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
Erik Verbruggen
2012-02-10 14:41:58 +01:00
parent 07d335b215
commit 3f5dc36a53
20 changed files with 181 additions and 3 deletions

View File

@@ -788,7 +788,7 @@ static inline int classify8(const char *s, bool q, bool x) {
if (s[5] == 'y') {
if (s[6] == 'p') {
if (s[7] == 'e') {
return T___TYPEOF;
return T_DECLTYPE;
}
}
}
@@ -1110,6 +1110,23 @@ static inline int classify10(const char *s, bool q, bool) {
}
}
}
else if (s[2] == 'd') {
if (s[3] == 'e') {
if (s[4] == 'c') {
if (s[5] == 'l') {
if (s[6] == 't') {
if (s[7] == 'y') {
if (s[8] == 'p') {
if (s[9] == 'e') {
return T___DECLTYPE;
}
}
}
}
}
}
}
}
else if (s[2] == 't') {
if (s[3] == 'y') {
if (s[4] == 'p') {