summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-01-10 14:37:02 +0000
committerAlp Toker <alp@nuanti.com>2014-01-10 14:37:02 +0000
commita572af67d6f4b335fe4ae21fd7a1fec697535372 (patch)
tree1764202bfb554d25631194c4c6f16cb7aa862c1a /lib/CodeGen/CGExprComplex.cpp
parent771f9fc788b7df21ac8696979fe366e2970ad653 (diff)
downloadclang-a572af67d6f4b335fe4ae21fd7a1fec697535372.tar.gz
clang-a572af67d6f4b335fe4ae21fd7a1fec697535372.tar.bz2
clang-a572af67d6f4b335fe4ae21fd7a1fec697535372.tar.xz
Remove unexpected code completion handling from ConsumeToken()
With this change tok::code_completion is finally handled exclusively as a special token kind like other tokens that need special treatment. All callers have been updated to use the specific token consumption methods and the parser has a clear idea the current token isn't special by the time ConsumeToken() gets called, so this has been unreachable for some time. ConsumeAnyToken() behaviour is unchanged and will continue to support unexpected code completion as part of the special token path. This survived an amount of fuzzing and validation, but please ping the list if you hit a code path that previously relied on the old unexpected handler and now asserts. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198942 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions