commit | 479633ced74c887ee9ec5905b3cb0bb1a37349b0 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Jan 23 18:53:14 2013 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Jan 23 18:53:14 2013 +0000 |
tree | 075d6b706445961364ccfbaeef5bcd4b0b11cccc | |
parent | 440285cb2213a16a71b429ac0cb59fc19a2364f6 [diff] |
Factor the trait for lookup into the on-based hash table of identifiers into two parts: the part that involves dealing with the key (which can be re-used) and the ASTReader-specific part that creates the IdentifierInfos. While I'm at it, StringRef'ify this code, which was using pair<const char*, unsigned>. No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173283 91177308-0d34-0410-b5e6-96231b3b80d8