summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/macro-prefix-map-lambda.cpp
AgeCommit message (Collapse)Author
2023-06-21[SystemZ] Fix regression in test macro-prefix-map-lambda.cppKai Nacke
The failing test comes from https://reviews.llvm.org/D152570. Root cause of the failure is that a string constant on SystemZ has an alignment of 2, not 1. The CSKY target has a similar problem. The solution is to replace the fixed number with a regex. Reviewed By: uweigand, tuliom, Zibi Differential Revision: https://reviews.llvm.org/D153352
2023-06-16[clang] Apply -fmacro-prefix-map to anonymous tags in template argumentsDan McGregor
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