]> granicus.if.org Git - clang/commit
Make LookUpIdentifierInfo const. This makes the Identifiers table mutable and is
authorDaniel Dunbar <daniel@zuster.org>
Thu, 5 Nov 2009 01:53:52 +0000 (01:53 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Thu, 5 Nov 2009 01:53:52 +0000 (01:53 +0000)
commitc3222091e1ffa35d0264ca6b680a88c9dc84ede2
tree90d2d26ac445e398191678658f3f3655746bef86
parent3da736c1143126be19b253804b3b135ebcd3d6ff
Make LookUpIdentifierInfo const. This makes the Identifiers table mutable and is
a little fuzzy, but conceptually it's just uniquing the identifier.

Chris, please review. I debated splitting into const/non-const versions where
the const one propogated constness to the resulting IdentifierInfo*.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86106 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Lex/Preprocessor.h
lib/Lex/Preprocessor.cpp