[all-commits] [llvm/llvm-project] 7df405: Apply -fmacro-prefix-map to __builtin_FILE()
Pavel Asyutchenko via All-commits
all-commits at lists.llvm.org
Wed Aug 4 16:42:26 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7df405e079c5045562c53f7a2504b85f423078be
https://github.com/llvm/llvm-project/commit/7df405e079c5045562c53f7a2504b85f423078be
Author: Pavel Asyutchenko <sventeam at yandex.ru>
Date: 2021-08-04 (Wed, 04 Aug 2021)
Changed paths:
M clang/include/clang/Basic/LangOptions.h
M clang/include/clang/Driver/Options.td
M clang/include/clang/Lex/PreprocessorOptions.h
M clang/lib/AST/Expr.cpp
M clang/lib/Basic/LangOptions.cpp
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
M clang/lib/Lex/PPMacroExpansion.cpp
M clang/test/CodeGenCXX/builtin-source-location.cpp
Log Message:
-----------
Apply -fmacro-prefix-map to __builtin_FILE()
This matches the behavior of GCC.
Patch does not change remapping logic itself, so adding one simple smoke test should be enough.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D107393
More information about the All-commits
mailing list