aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/FileOutputBuffer.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
commit9f1d619c0758aa3f88c5dcf27152c1cbf494ba16 (patch)
tree863e707d18c23c4a539a9b166acb341af61f06e8 /llvm/lib/Support/FileOutputBuffer.cpp
parent90ff80e32973e7452b16a04ed8cfdc5e54998a16 (diff)
downloadllvm-9f1d619c0758aa3f88c5dcf27152c1cbf494ba16.zip
llvm-9f1d619c0758aa3f88c5dcf27152c1cbf494ba16.tar.gz
llvm-9f1d619c0758aa3f88c5dcf27152c1cbf494ba16.tar.bz2
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. llvm-svn: 198942
Diffstat (limited to 'llvm/lib/Support/FileOutputBuffer.cpp')
0 files changed, 0 insertions, 0 deletions