[clang-tools-extra] [clang-doc] mangle template specialization file names (PR #144617)
Paul Kirth via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 20 10:59:14 PDT 2025
================
@@ -0,0 +1,15 @@
+// RUN: rm -rf %t && mkdir -p %t
+// RUN: clang-doc --output=%t --format=json --executor=standalone %s
+// RUN: FileCheck %s < %t/GlobalNamespace/_ZTT7MyClassIiE.json
----------------
ilovepi wrote:
I guess this serves the same purpose, but it'd be nice to have an explicit check for the correct file name. Maybe just a call to `ls %t/GlobalNamespace/ | FileCheck %s --check-prefix=FILENAMES`? May not add much value though. @petrhosek WDYT?
https://github.com/llvm/llvm-project/pull/144617
More information about the cfe-commits
mailing list