[clang] Do not print locations in anonymous tag names. (PR #159592)
Adrian Prantl via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 18 09:43:02 PDT 2025
================
@@ -397,6 +397,8 @@ PrintingPolicy CGDebugInfo::getPrintingPolicy() const {
// Apply -fdebug-prefix-map.
PP.Callbacks = &PrintCB;
+ // Disable printing of location of an anonymous tag name.
----------------
adrian-prantl wrote:
Can you put the explanation of why we do this into the comment here?
https://github.com/llvm/llvm-project/pull/159592
More information about the cfe-commits
mailing list