diff options
author | Raphael Isemann <teemperor@gmail.com> | 2020-05-08 14:40:57 +0200 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2020-05-08 14:41:01 +0200 |
commit | 13a1b3c1e6f40ec8459280eaae82fd3b0ed7b3a7 (patch) | |
tree | c6b553424f6a5095a75a73a587800c0042a53ae1 | |
parent | 8e7bb37dfb00bddd12cb44b75d57548330d32527 (diff) | |
download | llvm-13a1b3c1e6f40ec8459280eaae82fd3b0ed7b3a7.zip llvm-13a1b3c1e6f40ec8459280eaae82fd3b0ed7b3a7.tar.gz llvm-13a1b3c1e6f40ec8459280eaae82fd3b0ed7b3a7.tar.bz2 |
[lldb] Prevent objc-root-class warning when compiling module-ownership.mm test
This test was generating the following false-positive warning when being compiled:
warning: class 'SomeClass' defined without specifying a base class [-Wobjc-root-class]
-rw-r--r-- | lldb/test/Shell/SymbolFile/DWARF/module-ownership.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/Shell/SymbolFile/DWARF/module-ownership.mm b/lldb/test/Shell/SymbolFile/DWARF/module-ownership.mm index 72f2c88..36bd1bf 100644 --- a/lldb/test/Shell/SymbolFile/DWARF/module-ownership.mm +++ b/lldb/test/Shell/SymbolFile/DWARF/module-ownership.mm @@ -1,4 +1,4 @@ -// RUN: %clang --target=x86_64-apple-macosx -g -gmodules \ +// RUN: %clang --target=x86_64-apple-macosx -g -gmodules -Wno-objc-root-class \ // RUN: -fmodules -fmodules-cache-path=%t.cache \ // RUN: -c -o %t.o %s -I%S/Inputs // RUN: lldb-test symbols -dump-clang-ast %t.o | FileCheck --check-prefix CHECK-ANON-S1 %s |