From 283ac36731893129f189c580dbe2b4b1f6e87241 Mon Sep 17 00:00:00 2001 From: Vedant Kumar Date: Fri, 23 Jun 2017 23:34:32 +0000 Subject: [PATCH] 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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306183 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Basic/DiagnosticDriverKinds.td | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/clang/Basic/DiagnosticDriverKinds.td b/include/clang/Basic/DiagnosticDriverKinds.td index 6ee061cca6..eb6dd37c14 100644 --- a/include/clang/Basic/DiagnosticDriverKinds.td +++ b/include/clang/Basic/DiagnosticDriverKinds.td @@ -227,7 +227,8 @@ def warn_drv_disabling_vptr_no_rtti_default : Warning< "implicitly disabling vptr sanitizer because rtti wasn't enabled">, InGroup>; 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; def note_drv_command_failed_diag_msg : Note< "diagnostic msg: %0">; -- 2.40.0