Author: Raul Tambre Date: 2025-11-09T16:31:30+02:00 New Revision: d858aad5d1e08654a5ad9e7ba04124826154960f
URL: https://github.com/llvm/llvm-project/commit/d858aad5d1e08654a5ad9e7ba04124826154960f DIFF: https://github.com/llvm/llvm-project/commit/d858aad5d1e08654a5ad9e7ba04124826154960f.diff LOG: [NFCI][lldb][test][Recognizer] Fix mismatched C/C++ frontend subtitutions (#167220) The explicit language specifications for Objective C/C++ don't seem necessary either so I've removed them too. I found these by using Clang frontend configuration files containing language-specific options for both C and C++ (e.g. `-std=c2y` and `-std=c++26`). Prior-art: 21041c9 Added: Modified: lldb/test/Shell/Recognizer/registration-unique.test lldb/test/Shell/Recognizer/verbose_trap-objc.test Removed: ################################################################################ diff --git a/lldb/test/Shell/Recognizer/registration-unique.test b/lldb/test/Shell/Recognizer/registration-unique.test index 34400d9a27575..e9641923faedf 100644 --- a/lldb/test/Shell/Recognizer/registration-unique.test +++ b/lldb/test/Shell/Recognizer/registration-unique.test @@ -5,16 +5,16 @@ # RUN: split-file %s %t -# RUN: %clang_host %t/main.cpp -g -o %t/cpp.out +# RUN: %clangxx_host %t/main.cpp -g -o %t/cpp.out # RUN: %lldb -b -s %t/commands.input %t/cpp.out | FileCheck %s -# RUN: %clang_host -x objective-c++ %t/main.mm -g -o %t/objcxx.out +# RUN: %clangxx_host %t/main.mm -g -o %t/objcxx.out # RUN: %lldb -b -s %t/commands.input %t/objcxx.out | FileCheck %s # RUN: %clang_host %t/main.c -g -o %t/c.out # RUN: %lldb -b -s %t/commands.input %t/c.out | FileCheck %s -# RUN: %clang_host -x objective-c %t/main.m -g -o %t/objc.out +# RUN: %clang_host %t/main.m -g -o %t/objc.out # RUN: %lldb -b -s %t/commands.input %t/objc.out | FileCheck %s #--- main.m diff --git a/lldb/test/Shell/Recognizer/verbose_trap-objc.test b/lldb/test/Shell/Recognizer/verbose_trap-objc.test index 789e79c9542c5..0dbb04e0fd671 100644 --- a/lldb/test/Shell/Recognizer/verbose_trap-objc.test +++ b/lldb/test/Shell/Recognizer/verbose_trap-objc.test @@ -1,6 +1,6 @@ # REQUIRES: system-darwin # -# RUN: %clangxx_host -x objective-c -g %S/Inputs/verbose_trap.m -o %t.out +# RUN: %clang_host -g %S/Inputs/verbose_trap.m -o %t.out # RUN: %lldb -b -s %s %t.out | FileCheck %s run _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
