Skip to content

Commit d858aad

Browse files
authored
[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
1 parent 6616f07 commit d858aad

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lldb/test/Shell/Recognizer/registration-unique.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55

66
# RUN: split-file %s %t
77

8-
# RUN: %clang_host %t/main.cpp -g -o %t/cpp.out
8+
# RUN: %clangxx_host %t/main.cpp -g -o %t/cpp.out
99
# RUN: %lldb -b -s %t/commands.input %t/cpp.out | FileCheck %s
1010

11-
# RUN: %clang_host -x objective-c++ %t/main.mm -g -o %t/objcxx.out
11+
# RUN: %clangxx_host %t/main.mm -g -o %t/objcxx.out
1212
# RUN: %lldb -b -s %t/commands.input %t/objcxx.out | FileCheck %s
1313

1414
# RUN: %clang_host %t/main.c -g -o %t/c.out
1515
# RUN: %lldb -b -s %t/commands.input %t/c.out | FileCheck %s
1616

17-
# RUN: %clang_host -x objective-c %t/main.m -g -o %t/objc.out
17+
# RUN: %clang_host %t/main.m -g -o %t/objc.out
1818
# RUN: %lldb -b -s %t/commands.input %t/objc.out | FileCheck %s
1919

2020
#--- main.m

lldb/test/Shell/Recognizer/verbose_trap-objc.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# REQUIRES: system-darwin
22
#
3-
# RUN: %clangxx_host -x objective-c -g %S/Inputs/verbose_trap.m -o %t.out
3+
# RUN: %clang_host -g %S/Inputs/verbose_trap.m -o %t.out
44
# RUN: %lldb -b -s %s %t.out | FileCheck %s
55

66
run

0 commit comments

Comments
 (0)