diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2015-08-05 16:07:37 +0300 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2015-10-02 14:55:00 +0000 |
commit | 0e8a0cac475b3127ce1fac95214c3f252124a461 (patch) | |
tree | e8ee8ea17084edf5b6e566d7cc1ed79fe9f7dbcf /src/libs/3rdparty/cplusplus/Keywords.cpp | |
parent | f8596d6c632514f2975ce003cb820fd3cee82378 (diff) |
C++: Parse __alignof__
Change-Id: I093c2a786cf8f10de4f05c23f3763ef1300feabd
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Diffstat (limited to 'src/libs/3rdparty/cplusplus/Keywords.cpp')
-rw-r--r-- | src/libs/3rdparty/cplusplus/Keywords.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/libs/3rdparty/cplusplus/Keywords.cpp b/src/libs/3rdparty/cplusplus/Keywords.cpp index ef122937ce..a1cbcb4a3d 100644 --- a/src/libs/3rdparty/cplusplus/Keywords.cpp +++ b/src/libs/3rdparty/cplusplus/Keywords.cpp @@ -1324,6 +1324,22 @@ static inline int classify11(const char *s, LanguageFeatures features) } } } + } else if (s[3] == 'l') { + if (s[4] == 'i') { + if (s[5] == 'g') { + if (s[6] == 'n') { + if (s[7] == 'o') { + if (s[8] == 'f') { + if (s[9] == '_') { + if (s[10] == '_') { + return T___ALIGNOF__; + } + } + } + } + } + } + } } } } |