summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtPrinter.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2019-05-04 06:46:18 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2019-05-04 06:46:18 +0000
commitcb1beee76f520857b985db2af6117ad97aa45c4e (patch)
tree3dd01f89ff7cd37c28716d6510143561ece28839 /clang/lib/AST/StmtPrinter.cpp
parent5ddd564e190f10b0b001c203fbfbfd521a22c0c4 (diff)
downloadbcm5719-llvm-cb1beee76f520857b985db2af6117ad97aa45c4e.tar.gz
bcm5719-llvm-cb1beee76f520857b985db2af6117ad97aa45c4e.zip
[c++20] Implement tweaked __VA_OPT__ rules from P1042R1:
* __VA_OPT__ is expanded if the *expanded* __VA_ARGS__ is non-empty, not if the original argument contained no tokens. * Placemarkers at the start and end of __VA_OPT__ are retained just long enough to paste them with adjacent ## operators. We never paste "across" a discarded placemarker. llvm-svn: 359964
Diffstat (limited to 'clang/lib/AST/StmtPrinter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud