summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Host.cpp
diff options
context:
space:
mode:
authorKaelyn Takata <rikka@google.com>2015-05-05 19:17:03 +0000
committerKaelyn Takata <rikka@google.com>2015-05-05 19:17:03 +0000
commitb8499f09faa1cf1e0a941f089974b86c345025ac (patch)
tree980304ad7d402887735bd4bb60dcc0a7764cfe5a /llvm/lib/Support/Host.cpp
parent336d90b61bcc3862ac1fc016834340b6ef79cc4b (diff)
downloadbcm5719-llvm-b8499f09faa1cf1e0a941f089974b86c345025ac.tar.gz
bcm5719-llvm-b8499f09faa1cf1e0a941f089974b86c345025ac.zip
Allow TransformTypos to ignore corrections to a specified VarDecl.
This is needed to prevent a TypoExpr from being corrected to a variable when the TypoExpr is a subexpression of that variable's initializer. Also exclude more keywords from the correction candidate pool when the subsequent token is .* or ->* since keywords like "new" or "return" aren't valid on the left side of those operators. Fixes PR23140. llvm-svn: 236519
Diffstat (limited to 'llvm/lib/Support/Host.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud