aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMichael Wyman <michael@mwyman.com>2022-05-26 22:39:04 -0700
committerMichael Wyman <michael@mwyman.com>2022-05-31 11:13:08 -0700
commit7689c7fc9e08cc430daca3714bcffdd00fd538bd (patch)
treeb88cad934f4d163ad84868364f2039c033d5143a /clang/lib/Frontend/CompilerInvocation.cpp
parentfa958c3a94d3469ee24a9e646629251e8cd90efd (diff)
downloadllvm-7689c7fc9e08cc430daca3714bcffdd00fd538bd.zip
llvm-7689c7fc9e08cc430daca3714bcffdd00fd538bd.tar.gz
llvm-7689c7fc9e08cc430daca3714bcffdd00fd538bd.tar.bz2
Create specialization of -Wgnu-statement-expression for expressions found in macros.
-Wgnu-statement-expression currently warns for both direct source uses of statement expressions but also macro expansions; since they may be used by macros to avoid multiple evaluation of macro arguments, engineers might want to suppress warnings when statement expressions are expanded from macros but see them if introduced directly in source code. Differential Revision: https://reviews.llvm.org/D126522
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions