[all-commits] [llvm/llvm-project] f5f843: [clang][TypePrinter] Introduce AnonymousTagMode en...

Michael Buch via All-commits all-commits at lists.llvm.org
Thu Feb 19 14:50:46 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f5f8435605ba5993bc4aa835a18aae995f4e50ab
      https://github.com/llvm/llvm-project/commit/f5f8435605ba5993bc4aa835a18aae995f4e50ab
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2026-02-19 (Thu, 19 Feb 2026)

  Changed paths:
    M clang-tools-extra/clangd/AST.cpp
    M clang-tools-extra/clangd/FindSymbols.cpp
    M clang-tools-extra/clangd/Hover.cpp
    M clang-tools-extra/clangd/InlayHints.cpp
    M clang/include/clang/AST/PrettyPrinter.h
    M clang/lib/AST/Decl.cpp
    M clang/lib/ASTMatchers/ASTMatchersInternal.cpp
    M clang/lib/ExtractAPI/ExtractAPIConsumer.cpp
    M clang/lib/Index/USRGeneration.cpp
    M clang/lib/Interpreter/InterpreterUtils.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/lib/Sema/SemaCodeComplete.cpp
    M clang/lib/Tooling/ASTDiff/ASTDiff.cpp
    M clang/tools/libclang/CIndex.cpp
    M clang/unittests/AST/TypePrinterTest.cpp
    M clang/unittests/Tooling/QualTypeNamesTest.cpp

  Log Message:
  -----------
  [clang][TypePrinter] Introduce AnonymousTagMode enum (#182317)

As part of https://github.com/llvm/llvm-project/pull/159592, we want to
emit unique lambda names into debug-info without relying on
`AnonymousTagLocations` (i.e., we don't want the source files included
in the names).

The plan is to implement this as a third `AnonymousTagMode`. This patch
turns the existing `AnonymousTagLocations` into an enum as preparation.

(full prototype is at https://github.com/llvm/llvm-project/pull/168533)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list