summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/IdentifierTable.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-08 18:24:34 +0000
committerChris Lattner <sabre@nondot.org>2009-04-08 18:24:34 +0000
commit14a7f39733d7712319be4cd0967e47a5e87507a8 (patch)
tree93393b4ab2f9ecfe77a73f5fa84c79c7c66b3a3b /clang/lib/Basic/IdentifierTable.cpp
parent17ddaa677eb84ecc6d91f50f8692bc43513d3aab (diff)
downloadbcm5719-llvm-14a7f39733d7712319be4cd0967e47a5e87507a8.tar.gz
bcm5719-llvm-14a7f39733d7712319be4cd0967e47a5e87507a8.zip
Add initial support for -imacros. Right now it has the same semantics as
-include, but that will be fixed soon. llvm-svn: 68625
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
-rw-r--r--clang/lib/Basic/IdentifierTable.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Basic/IdentifierTable.cpp b/clang/lib/Basic/IdentifierTable.cpp
index c002b3f1107..78758d71888 100644
--- a/clang/lib/Basic/IdentifierTable.cpp
+++ b/clang/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
}
OpenPOWER on IntegriCloud