]> granicus.if.org Git - clang/commit
[preprocessing record] Have the MacroDefinitions map point to the MacroDefinition...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 22 Feb 2013 18:35:59 +0000 (18:35 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 22 Feb 2013 18:35:59 +0000 (18:35 +0000)
commit0b849d34b3a9574615e98e108db4e8099e9032e0
treee533db37ea34e3b7394d3ed1e65ab59fe96316a7
parentf512acee01617c9da8079ed88ded3bb9f2418349
[preprocessing record] Have the MacroDefinitions map point to the MacroDefinition object instead
its index in the preprocessed entities vector.

This is because the order of the entities in the vector can change in some (uncommon) cases.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175907 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/PreprocessingRecord.h
lib/Lex/PreprocessingRecord.cpp
lib/Serialization/ASTReader.cpp
test/Preprocessor/pp-record.c