]> granicus.if.org Git - clang/commit
Query only the latest version of an identifier in the PCH chain. Make sure this versi...
authorSebastian Redl <sebastian.redl@getdesigned.at>
Mon, 2 Aug 2010 18:30:12 +0000 (18:30 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Mon, 2 Aug 2010 18:30:12 +0000 (18:30 +0000)
commitd8c5abb096a5f6babb3709180fe304be5462bcc1
treee43d091760c13cca18a25aacb234fc910acbf73e
parented48a8faa10b6750f334540711c7b3949bbfb3ae
Query only the latest version of an identifier in the PCH chain. Make sure this version holds the entire declaration chain. This is a much saner solution than trying to merge the info from all elements, and makes redeclarations work properly. Expand the declarations test case to cover more compliated cases.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110052 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Frontend/PCHReader.h
lib/Frontend/PCHReader.cpp
lib/Frontend/PCHWriter.cpp
test/PCH/Inputs/chain-decls1.h
test/PCH/Inputs/chain-decls2.h
test/PCH/chain-decls.c