Author: Jonas Devlieghere Date: 2022-01-14T16:19:16-08:00 New Revision: a10692c734faff9ef28bc725703a0eacea78eeca
URL: https://github.com/llvm/llvm-project/commit/a10692c734faff9ef28bc725703a0eacea78eeca DIFF: https://github.com/llvm/llvm-project/commit/a10692c734faff9ef28bc725703a0eacea78eeca.diff LOG: [lldb] Only promote -Wignored-attributes to an error Avoid other warnings from failing the test, such as -Wunused-command-line-argument in the downstream Swift fork. Added: Modified: lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py Removed: ################################################################################ diff --git a/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py b/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py index 6fd60c22cea4f..f37331e2cd254 100644 --- a/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py +++ b/lldb/test/API/lang/c/calling-conventions/TestCCallingConventions.py @@ -20,7 +20,7 @@ def build_and_run(self, test_file): try: self.build(dictionary={ "C_SOURCES" : test_file, - "CFLAGS_EXTRAS" : "-Werror" + "CFLAGS_EXTRAS" : "-Werror=ignored-attributes" }) except BuildError as e: # Test source failed to build. Check if it failed because the _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits