summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/IdentifierTable.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-02-05 19:03:40 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-02-05 19:03:40 +0000
commitd79514e24b4da111b6b08535f975ae8f4d81c26d (patch)
tree67d8d153a83045efb837f0434ae4c0923b9a11af /clang/lib/Basic/IdentifierTable.cpp
parent1242ce96952133e1b1f629ec3ce9e3145f0362e1 (diff)
downloadbcm5719-llvm-d79514e24b4da111b6b08535f975ae8f4d81c26d.tar.gz
bcm5719-llvm-d79514e24b4da111b6b08535f975ae8f4d81c26d.zip
[modules] Separately track whether an identifier's preprocessor information and
name lookup information have changed since deserialization. For a C++ modules build, we do not need to re-emit the identifier into the serialized identifier table if only the name lookup information has changed (and in all cases, we don't need to re-emit the macro information if only the name lookup information has changed). llvm-svn: 259901
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
-rw-r--r--clang/lib/Basic/IdentifierTable.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Basic/IdentifierTable.cpp b/clang/lib/Basic/IdentifierTable.cpp
index 67de1cb6fda..d6ad0f5c915 100644
--- a/clang/lib/Basic/IdentifierTable.cpp
+++ b/clang/lib/Basic/IdentifierTable.cpp
@@ -42,6 +42,7 @@ IdentifierInfo::IdentifierInfo() {
NeedsHandleIdentifier = false;
IsFromAST = false;
ChangedAfterLoad = false;
+ FEChangedAfterLoad = false;
RevertedTokenID = false;
OutOfDate = false;
IsModulesImport = false;
OpenPOWER on IntegriCloud