summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-12-17 14:12:30 +0000
committerAlp Toker <alp@nuanti.com>2013-12-17 14:12:30 +0000
commit19f1317211b0de172e8b1852612e3ac70a6be4cc (patch)
tree76cfe145bafbad55873a291f14989852b095db64 /lib/CodeGen/CodeGenFunction.cpp
parent3c9eb4a7502f2883de43467233396bc253fca868 (diff)
downloadclang-19f1317211b0de172e8b1852612e3ac70a6be4cc.tar.gz
clang-19f1317211b0de172e8b1852612e3ac70a6be4cc.tar.bz2
clang-19f1317211b0de172e8b1852612e3ac70a6be4cc.tar.xz
Simplify RevertibleTypeTraits as a form of contextual keyword
Now that we emit diagnostics for keyword-as-identifier hacks (-Wkeyword-compat) we can go ahead and simplify some of the old revertible keyword support. This commit adds a TryIdentKeywordUpgrade() function to mirror the recently added TryKeywordIdentFallback() and uses it to replace the hard-coded list of REVERTIBLE_TYPE_TRAITs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197496 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions