[all-commits] [llvm/llvm-project] 30ffb3: [clang] Apply -fmacro-prefix-map to anonymous tags...

dankm via All-commits all-commits at lists.llvm.org
Fri Jun 16 08:47:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 30ffb3e4fbce3132fbf63c62a8ecbb1edbec4fc9
      https://github.com/llvm/llvm-project/commit/30ffb3e4fbce3132fbf63c62a8ecbb1edbec4fc9
  Author: Dan McGregor <dan.mcgregor at usask.ca>
  Date:   2023-06-16 (Fri, 16 Jun 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/Expr.cpp
    A clang/test/CodeGenCXX/macro-prefix-map-lambda.cpp

  Log Message:
  -----------
  [clang] Apply -fmacro-prefix-map to anonymous tags in template arguments

When expanding template arguments for pretty function printing,
such as for __PRETTY_FUNCTION__, make TypePrinter apply
macro-prefix-map remapping to anonymous tags such as lambdas.

Fixes https://github.com/llvm/llvm-project/issues/63219

Reviewed By: MaskRay, aaron.ballman

Differential Revision: https://reviews.llvm.org/D152570




More information about the All-commits mailing list