useful for macro-heavy codebases that tend to trigger this warning a
lot.
Note that a make clean is required to get the option working; the
dependencies for DiagnosticGroups.inc appear to be broken.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69564
91177308-0d34-0410-b5e6-
96231b3b80d8
"'__builtin_choose_expr' requires a constant expression">;
def ext_typecheck_expression_not_constant_but_accepted : Extension<
"expression is not a constant, but is accepted as one by GNU extensions">;
-def warn_unused_expr : Warning<"expression result unused">;
+def warn_unused_expr : Warning<"expression result unused">,
+ InGroup<UnusedValue>;
// inline asm.
def err_asm_wide_character : Error<"wide string is invalid in 'asm'">;