[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / tools / llvm-cxxfilt / strip-underscore.test
blob2b7057fbfbae825884df088405389a3e326bf5e4
1 ## Show the behaviour of --[no-]strip-underscore. This test does not test
2 ## the platform-specific default behaviour. This is tested elsewhere.
4 RUN: llvm-cxxfilt -_ __ZN2ns1fE _ZSt1f _f _._Z3f.0v | FileCheck %s -check-prefix CHECK-STRIPPED
5 RUN: llvm-cxxfilt --strip-underscore __ZN2ns1fE _ZSt1f _f _._Z3f.0v | FileCheck %s -check-prefix CHECK-STRIPPED
6 RUN: llvm-cxxfilt -n __ZN2ns1fE _ZSt1f _f _._Z3f.0v | FileCheck %s -check-prefix CHECK-UNSTRIPPED
7 RUN: llvm-cxxfilt --no-strip-underscore __ZN2ns1fE _ZSt1f _f _._Z3f.0v | FileCheck %s -check-prefix CHECK-UNSTRIPPED
9 CHECK-STRIPPED: ns::f
10 CHECK-STRIPPED: _ZSt1f
11 CHECK-STRIPPED: _f
12 CHECK-STRIPPED: ._Z3f.0v
14 CHECK-UNSTRIPPED: __ZN2ns1fE
15 CHECK-UNSTRIPPED: std::f
16 CHECK-UNSTRIPPED: _f
17 CHECK-UNSTRIPPED: _._Z3f.0v