[PATCH] D152570: [clang] Apply -fmacro-prefix-map to anonymous tags in template arguments

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 16 08:43:04 PDT 2023


MaskRay added inline comments.


================
Comment at: clang/docs/ReleaseNotes.rst:515
+- Apply ``-fmacro-prefix-map`` to anonymous tags in template arguments
+  (`#63219 <https://github.com/llvm/llvm-project/issues/63219>`_)
 
----------------
I'll add a period to be consistent with other entries. Thanks!


================
Comment at: clang/test/CodeGenCXX/macro-prefix-map-lambda.cpp:1
+// RUN: %clang_cc1 -triple %itanium_abi_triple -fmacro-prefix-map=%p=./UNLIKELY_PATH/empty -S %s -emit-llvm -o - | FileCheck %s
+
----------------
I'll remove `-S` since `-emit-llvm` wins for CC1 options.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152570/new/

https://reviews.llvm.org/D152570



More information about the cfe-commits mailing list