diff options
author | Ted Kremenek <kremenek@apple.com> | 2012-03-01 22:53:32 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2012-03-01 22:53:32 +0000 |
commit | f15e1143dcb39396a1b62e509e59cacaabbc4880 (patch) | |
tree | a75238e828cda1ca9c5039c61d22424f9b1e1027 /include/clang/Basic/IdentifierTable.h | |
parent | 8c72a7db34a63c38c6065b73fda4aeb0fe19eb65 (diff) |
Moving tagging of '__experimental_modules_import' IdentifierInfo out of
IndentifierTable::get() and into IdentifierTable's constructor.
This gets a 0.7% reducing on lexing time for Cocoa.h, and
about the same for PCH generation.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151854 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/IdentifierTable.h')
-rw-r--r-- | include/clang/Basic/IdentifierTable.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/clang/Basic/IdentifierTable.h b/include/clang/Basic/IdentifierTable.h index fce79aa652..cc0080b877 100644 --- a/include/clang/Basic/IdentifierTable.h +++ b/include/clang/Basic/IdentifierTable.h @@ -460,11 +460,6 @@ public: // contents. II->Entry = &Entry; - // If this is the '__experimental_modules_import' contextual keyword, - // mark it as such. - if (Name.equals("__experimental_modules_import")) - II->setModulesImport(true); - return *II; } |