diff options
author | Daniel Jasper <djasper@google.com> | 2013-01-16 16:23:19 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-01-16 16:23:19 +0000 |
commit | 1f2b07898f66524fd7fe1b177fb0d7c58016e93b (patch) | |
tree | 61a037369b9ba374ee0dd631f6b8d1847ffd8b13 /lib/Lex/PreprocessingRecord.cpp | |
parent | 7f69b1ab4f63ded511dddd7fb7e1cd8860757016 (diff) |
Fix parsing error in conditional expressions.
We used to incorrectly parse
aaaaaa ? aaaaaa(aaaaaa) : aaaaaaaa;
Due to an l_paren being followed by a colon, we assumed it to be part of
a constructor initializer. Thus, we never found the colon belonging to
the conditional expression, marked the line as bing incorrect and did
not format it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PreprocessingRecord.cpp')
0 files changed, 0 insertions, 0 deletions