summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2013-07-22 23:09:39 +0000
committerEli Friedman <eli.friedman@gmail.com>2013-07-22 23:09:39 +0000
commit4e16bf2511ab335cfcf74a273332ad7c00a786de (patch)
treef12e7eeaf93821a129d8f7e05ed447c4d3eac3e1 /lib/CodeGen/CGExpr.cpp
parent10f900447e41a1a1a1877b886553da4a0dff3ad6 (diff)
downloadclang-4e16bf2511ab335cfcf74a273332ad7c00a786de.tar.gz
clang-4e16bf2511ab335cfcf74a273332ad7c00a786de.tar.bz2
clang-4e16bf2511ab335cfcf74a273332ad7c00a786de.tar.xz
Don't emit open-paren fixit without close-paren.
getLocForEndOfToken() isn't guaranteed to succeed; if it doesn't, make sure we do something sane. Fixes PR16673. I'm not sure how to write a testcase for this short of grepping through the diagnostic output. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186889 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions