diff options
author | Alexander Kornienko <alexfh@google.com> | 2012-09-25 17:18:14 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2012-09-25 17:18:14 +0000 |
commit | 1d26c0272289d4f1b83d71ae2257957890caef4a (patch) | |
tree | 02cac5309a518da12059b6893283e63d04d91365 /clang/lib/Basic/IdentifierTable.cpp | |
parent | 24719e32365f1e6b5cdd327d229c4e15a1f4f35b (diff) | |
download | bcm5719-llvm-1d26c0272289d4f1b83d71ae2257957890caef4a.tar.gz bcm5719-llvm-1d26c0272289d4f1b83d71ae2257957890caef4a.zip |
Macro history (de-)serialization. Deserialization currently reads only the latest macro definition. Needs more work.
Summary: Passes all tests (+ the new one with code completion), but needs a thorough review in part related to modules.
Reviewers: doug.gregor
Reviewed By: alexfh
CC: cfe-commits, rsmith
Differential Revision: http://llvm-reviews.chandlerc.com/D41
llvm-svn: 164610
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
-rw-r--r-- | clang/lib/Basic/IdentifierTable.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Basic/IdentifierTable.cpp b/clang/lib/Basic/IdentifierTable.cpp index 082c768dfc5..55c45cfb237 100644 --- a/clang/lib/Basic/IdentifierTable.cpp +++ b/clang/lib/Basic/IdentifierTable.cpp @@ -33,6 +33,7 @@ IdentifierInfo::IdentifierInfo() { TokenID = tok::identifier; ObjCOrBuiltinID = 0; HasMacro = false; + HadMacro = false; IsExtension = false; IsCXX11CompatKeyword = false; IsPoisoned = false; |