When loading an identifier from an AST file solely for the purpose of
authorDouglas Gregor <dgregor@apple.com>
Mon, 21 Jan 2013 16:47:11 +0000 (16:47 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 21 Jan 2013 16:47:11 +0000 (16:47 +0000)
commitd8666e49cc9b02715c842add2bc036ddba54fe7a
tree4c0045906e3a65e051bb9d741d0ea7e14ded6c37
parenta4fe1c13c0043f6ff5019c5f04b4e8db85178d28
When loading an identifier from an AST file solely for the purpose of
forming the identifier, e.g., as part of a selector or a declaration
name, don't actually deserialize any information about the
identifier. Instead, simply mark it "out-of-date" and we'll load the
the information on demand. 2% speedup on the modules testcase I'm
looking at; should also help PCH.

llvm-svn: 173056
clang/include/clang/Serialization/ASTReader.h
clang/lib/Serialization/ASTReader.cpp