[all-commits] [llvm/llvm-project] c471f2: Fix a failed assertion when dumping the AST to JSON
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Thu Apr 6 06:54:32 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c471f26e81e0aa7a22ecc7f696957e4cfdf6fdec
https://github.com/llvm/llvm-project/commit/c471f26e81e0aa7a22ecc7f696957e4cfdf6fdec
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2023-04-06 (Thu, 06 Apr 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/JSONNodeDumper.cpp
A clang/test/AST/ast-dump-template-json-win32-mangler-crash.cpp
Log Message:
-----------
Fix a failed assertion when dumping the AST to JSON
We were trying to mangle templated names and the Microsoft mangler does
not have an implementation for mangling dependent names. Instead, we
now skip trying to print the mangled name if the AST node is still a
templated node rather than a fully resolved node.
Fixes https://github.com/llvm/llvm-project/issues/61440
More information about the All-commits
mailing list