summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/cxx0x-initializer-constructor.cpp
diff options
context:
space:
mode:
authorKaelyn Takata <rikka@google.com>2015-01-27 18:26:18 +0000
committerKaelyn Takata <rikka@google.com>2015-01-27 18:26:18 +0000
commit05f40509283f6fd476144d02778623b1cb7d35eb (patch)
tree332bfb85e98f8e2d9aeffe30224433d6ec585ecb /clang/test/SemaCXX/cxx0x-initializer-constructor.cpp
parentb1e6c2dd3d9da079cb7586395bfcf9f68d2e414a (diff)
downloadbcm5719-llvm-05f40509283f6fd476144d02778623b1cb7d35eb.tar.gz
bcm5719-llvm-05f40509283f6fd476144d02778623b1cb7d35eb.zip
Properly handle typos in the conditional of ?: expressions in C.
In particular, remove the OpaqueExpr transformation from r225389 and move the correction of the conditional from CheckConditionalOperands to ActOnConditionalOp before the OpaqueExpr is created. This fixes the typo correction behavior in C code that uses the GNU extension for a binary ?: (without an expression between the "?" and the ":"). llvm-svn: 227220
Diffstat (limited to 'clang/test/SemaCXX/cxx0x-initializer-constructor.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud