[clang] [llvm] Handle leading underscores in update_cc_test_checks.py (PR #121800)

Momchil Velikov via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 10 07:30:26 PST 2025


================
@@ -122,6 +122,11 @@ def parse_clang_ast_json(node, loc, search):
         if search is None:
             search = spell
         mangled = node.get("mangledName", spell)
+        # Strip leading underscore from globals, so the name matches the LLVM one
----------------
momchil-velikov wrote:

Done.

https://github.com/llvm/llvm-project/pull/121800


More information about the llvm-commits mailing list