commit | c44cc015a8525e9b7d81a1f1cc1b6e827cfe6762 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Mon Jan 21 16:47:11 2013 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Mon Jan 21 16:47:11 2013 +0000 |
tree | aa17d2b4f1804c4848cba0d48bf8ea3a8299cff8 | |
parent | 2f1ac41a6d8d202dcc39ab8eb56ccea823dc062e [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173056 91177308-0d34-0410-b5e6-96231b3b80d8