Author: Raphael Isemann
Date: 2020-05-08T14:41:01+02:00
New Revision: 13a1b3c1e6f40ec8459280eaae82fd3b0ed7b3a7

URL: 
https://github.com/llvm/llvm-project/commit/13a1b3c1e6f40ec8459280eaae82fd3b0ed7b3a7
DIFF: 
https://github.com/llvm/llvm-project/commit/13a1b3c1e6f40ec8459280eaae82fd3b0ed7b3a7.diff

LOG: [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]

Added: 
    

Modified: 
    lldb/test/Shell/SymbolFile/DWARF/module-ownership.mm

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/SymbolFile/DWARF/module-ownership.mm 
b/lldb/test/Shell/SymbolFile/DWARF/module-ownership.mm
index 72f2c8865f97..36bd1bfe37e6 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


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to