[llvm] [llvm-cxxfilt] Added the option --no-params (PR #75348)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 18 01:55:52 PST 2023
================
@@ -0,0 +1,17 @@
+RUN: llvm-cxxfilt _Z3fooIiJEEvf _ZN1f2baC2ERKNS_2baIT_EE _ZN2baC2EOT0_ | FileCheck %s --check-prefix=CHECK-PARAMS
+RUN: llvm-cxxfilt -p _Z3fooIiJEEvf _ZN1f2baC2ERKNS_2baIT_EE _ZN2baC2EOT0_ | FileCheck %s --check-prefix=CHECK-NO-PARAMS
+RUN: llvm-cxxfilt --no-params _Z3fooIiJEEvf _ZN1f2baC2ERKNS_2baIT_EE _ZN2baC2EOT0_ | FileCheck %s --check-prefix=CHECK-NO-PARAMS
+
+CHECK-PARAMS: void foo<int>(float)
----------------
jh7370 wrote:
It would be useful to have a brief comment before each test case to explain why it's important (you have that comment before the other cases below).
https://github.com/llvm/llvm-project/pull/75348
More information about the llvm-commits
mailing list