aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-06-23 23:34:32 +0000
committerVedant Kumar <vsk@apple.com>2017-06-23 23:34:32 +0000
commit283ac36731893129f189c580dbe2b4b1f6e87241 (patch)
tree08955728fa7c974484ec131ea07a07b557e5eb05
parent6090a3754a1c9c810da526dfa3888decfd4bfb44 (diff)
downloadclang-upstream-mirror.tar.gz
Add a warning to a groupupstream-mirror
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
-rw-r--r--include/clang/Basic/DiagnosticDriverKinds.td3
1 files changed, 2 insertions, 1 deletions
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<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">;