]> granicus.if.org Git - clang/commit
-Make TokenID of IdentifierInfo read-only, remove setTokenID().
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 11 Aug 2010 22:55:12 +0000 (22:55 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 11 Aug 2010 22:55:12 +0000 (22:55 +0000)
commit646395bbcaa849c94bc2a3246c71d809ca719f01
tree2a4d80ab05b4680e243ffc9d6977439e4e5e27a3
parentb3a29f132794f67108bccc9c7cc3795365e8a965
-Make TokenID of IdentifierInfo read-only, remove setTokenID().
-There are 2 instances that change the TokenID for GNU libstdc++ 4.2 compatibility.
  To handler those cases introduce a RevertedTokenID bitfield, RevertTokenIDToIdentifier() and hasRevertedTokenIDToIdentifier() methods.
  Store the bitfield in PCH.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110868 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/IdentifierTable.h
lib/Basic/IdentifierTable.cpp
lib/Frontend/PCHReader.cpp
lib/Frontend/PCHWriter.cpp
lib/Parse/ParseDeclCXX.cpp
test/PCH/cxx-traits.cpp [new file with mode: 0644]
test/PCH/cxx-traits.h [new file with mode: 0644]