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 | 8c5fba9f87f39ff18425747fcea2ac9f364e3cfe (patch) | |
| tree | da30ad6d25c09f91f66965835e73af40fe32a56b /clang/lib/Sema | |
| parent | f40f67af436c33a0c76ead87d23f77d186abd8e4 (diff) | |
| download | bcm5719-llvm-8c5fba9f87f39ff18425747fcea2ac9f364e3cfe.tar.gz bcm5719-llvm-8c5fba9f87f39ff18425747fcea2ac9f364e3cfe.zip | |
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.
llvm-svn: 172621
Diffstat (limited to 'clang/lib/Sema')
0 files changed, 0 insertions, 0 deletions

