aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/dotest.py
diff options
context:
space:
mode:
authorRichard Smith <richard@metafoo.co.uk>2020-08-27 16:08:11 -0700
committerRichard Smith <richard@metafoo.co.uk>2020-08-28 13:35:50 -0700
commit0e00a95b4fad5e72851de012d3a0b2c2d01f8685 (patch)
treeded0287b1cd43ec421e8f4e9eacb3da9bf6aef40 /lldb/packages/Python/lldbsuite/test/dotest.py
parentaab90384a3a7a475bc1a969405d112c886ce8077 (diff)
downloadllvm-0e00a95b4fad5e72851de012d3a0b2c2d01f8685.zip
llvm-0e00a95b4fad5e72851de012d3a0b2c2d01f8685.tar.gz
llvm-0e00a95b4fad5e72851de012d3a0b2c2d01f8685.tar.bz2
Add new warning for compound punctuation tokens that are split across macro expansions or split by whitespace.
For example: #define FOO(x) (x) FOO({}); ... forms a statement-expression after macro expansion. This warning applies to '({' and '})' delimiting statement-expressions, '[[' and ']]' delimiting attributes, and '::*' introducing a pointer-to-member. The warning for forming these compound tokens across macro expansions (or across files!) is enabled by default; the warning for whitespace within the tokens is not, but is included in -Wall. Differential Revision: https://reviews.llvm.org/D86751
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
0 files changed, 0 insertions, 0 deletions