diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Basic/IdentifierTable.cpp | 2 | ||||
-rw-r--r-- | lib/Lex/PPDirectives.cpp | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/Basic/IdentifierTable.cpp b/lib/Basic/IdentifierTable.cpp index c002b3f110..78758d7188 100644 --- a/lib/Basic/IdentifierTable.cpp +++ b/lib/Basic/IdentifierTable.cpp @@ -207,6 +207,8 @@ tok::PPKeywordKind IdentifierInfo::getPPKeywordID() const { CASE( 8, 'u', 'a', unassert); CASE(12, 'i', 'c', include_next); + + CASE(16, '_', 'i', __include_macros); #undef CASE #undef HASH } diff --git a/lib/Lex/PPDirectives.cpp b/lib/Lex/PPDirectives.cpp index c5dc7abd08..a60d9ba4e1 100644 --- a/lib/Lex/PPDirectives.cpp +++ b/lib/Lex/PPDirectives.cpp @@ -528,8 +528,10 @@ TryAgain: // C99 6.10.2 - Source File Inclusion. case tok::pp_include: - return HandleIncludeDirective(Result); // Handle #include. - + return HandleIncludeDirective(Result); // Handle #include. + case tok::pp___include_macros: + return HandleIncludeDirective(Result); // Handle #__include_macros. + // C99 6.10.3 - Macro Replacement. case tok::pp_define: return HandleDefineDirective(Result); |