]> granicus.if.org Git - clang/commit
Use a ContinuousRangeMap to map from the global declaration ID in the
authorDouglas Gregor <dgregor@apple.com>
Wed, 20 Jul 2011 00:27:43 +0000 (00:27 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 20 Jul 2011 00:27:43 +0000 (00:27 +0000)
commit96e973f2be14c9b82136f74b4108465d24894fea
treec4ea51ffca26c92e0bee00ed70ee2e85f84f0ab6
parent19207f1e5f51261a33492602501fb7ada50ea546
Use a ContinuousRangeMap to map from the global declaration ID in the
AST reader down to the AST file + local ID within that file, rather
than lamely walking the PCH chain. There's no actual functionality
change now, but this is cleaner and more general.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135548 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Serialization/ASTReader.h
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTReaderDecl.cpp