summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.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
commit53358e43bc71dc1d1660a26f8a403c8a2d6ed76b (patch)
tree56e6295fbc10aea6d548a98ca5dbcc0b531b8659 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent8fb00b0f79feae2b63657f0ac3a1207b262120b2 (diff)
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. llvm-svn: 197496
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions