r306183 - Add a warning to a group
Vedant Kumar via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 23 16:34:33 PDT 2017
Author: vedantk
Date: Fri Jun 23 18:34:32 2017
New Revision: 306183
URL: http://llvm.org/viewvc/llvm-project?rev=306183&view=rev
Log:
Add a warning to a group
Add warn_drv_object_size_disabled_O0 to the invalid command line
argument group. This should fix some bot failures:
lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/13241/steps/test/logs/stdio
Modified:
cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td
Modified: cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td?rev=306183&r1=306182&r2=306183&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticDriverKinds.td Fri Jun 23 18:34:32 2017
@@ -227,7 +227,8 @@ def warn_drv_disabling_vptr_no_rtti_defa
"implicitly disabling vptr sanitizer because rtti wasn't enabled">,
InGroup<DiagGroup<"auto-disable-vptr-sanitizer">>;
def warn_drv_object_size_disabled_O0 : Warning<
- "the object size sanitizer has no effect at -O0, but is explicitly enabled: %0">;
+ "the object size sanitizer has no effect at -O0, but is explicitly enabled: %0">,
+ InGroup<InvalidCommandLineArgument>;
def note_drv_command_failed_diag_msg : Note<
"diagnostic msg: %0">;
More information about the cfe-commits
mailing list