C++11: handle noexcept specifications.

Change-Id: I7da3affea2758b2e01124105e2521e1f2c5f6678
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
Erik Verbruggen
2012-02-02 11:40:01 +01:00
parent a2f9ee870e
commit dd4299073e
18 changed files with 197 additions and 33 deletions

View File

@@ -814,6 +814,23 @@ static inline int classify8(const char *s, bool q, bool x) {
}
}
}
else if (x && s[0] == 'n') {
if (s[1] == 'o') {
if (s[2] == 'e') {
if (s[3] == 'x') {
if (s[4] == 'c') {
if (s[5] == 'e') {
if (s[6] == 'p') {
if (s[7] == 't') {
return T_NOEXCEPT;
}
}
}
}
}
}
}
}
else if (s[0] == 'o') {
if (s[1] == 'p') {
if (s[2] == 'e') {