summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/YAMLTraits.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2017-06-19 07:40:49 +0000
committerDaniel Jasper <djasper@google.com>2017-06-19 07:40:49 +0000
commit6a7d5a7a22a6522e0bfb7e60b3a15acb2eed2f60 (patch)
treee31da3c516b5de6dabbba11f72a2b56b23beb387 /llvm/lib/Support/YAMLTraits.cpp
parent271dd0603e4ddb63e1c7cc140459cb42fe13a2ac (diff)
downloadbcm5719-llvm-6a7d5a7a22a6522e0bfb7e60b3a15acb2eed2f60.tar.gz
bcm5719-llvm-6a7d5a7a22a6522e0bfb7e60b3a15acb2eed2f60.zip
clang-format: Handle "if constexpr".
c++1z adds the following constructions to the language: if constexpr (cond) statement1; else if constexpr (cond) statement2; else if constexpr (cond) statement3; else statement4; A first version of this was proposed in reviews.llvm.org/D26953 by Francis Visoiu Mistrih, but never commited. This patch additionally fixes the behavior when allowing short if statements on a single line and was authored by Jacob Bandes-Storch. Thank you to both authors. llvm-svn: 305666
Diffstat (limited to 'llvm/lib/Support/YAMLTraits.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud