summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/IdentifierTable.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-07-01 02:29:35 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-07-01 02:29:35 +0000
commit2aedca340c84eafdc7285eb68145e55213324185 (patch)
treea5f7498611c5aa78996d2f9cad700e04aa8f93a0 /clang/lib/Basic/IdentifierTable.cpp
parent8fabc1b47d0237f363c1a34dc5de744973c74891 (diff)
downloadbcm5719-llvm-2aedca340c84eafdc7285eb68145e55213324185.tar.gz
bcm5719-llvm-2aedca340c84eafdc7285eb68145e55213324185.zip
[modules] Before checking whether the controlling macro of a header is defined,
update the identifier in case we've imported a definition of the macro (and thus the contents of the header) from a module. Also fold ExternalIdentifierLookup into ExternalPreprocessorSource; it no longer makes sense to keep these separate now that the only user of the former also needs the latter. llvm-svn: 241137
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
-rw-r--r--clang/lib/Basic/IdentifierTable.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Basic/IdentifierTable.cpp b/clang/lib/Basic/IdentifierTable.cpp
index 40b28222b8b..36fba994f1e 100644
--- a/clang/lib/Basic/IdentifierTable.cpp
+++ b/clang/lib/Basic/IdentifierTable.cpp
@@ -71,8 +71,6 @@ IdentifierIterator *IdentifierInfoLookup::getIdentifiers() {
return new EmptyLookupIterator();
}
-ExternalIdentifierLookup::~ExternalIdentifierLookup() {}
-
IdentifierTable::IdentifierTable(const LangOptions &LangOpts,
IdentifierInfoLookup* externalLookup)
: HashTable(8192), // Start with space for 8K identifiers.
OpenPOWER on IntegriCloud