llvm-project/clang/lib/Basic
Pavel Asyutchenko 7df405e079 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
2021-08-04 16:42:14 -07:00
..
Targets [RISCV] Rename vector inline constraint from 'v' to 'vr' and 'vm' in IR. 2021-08-01 05:58:17 +08:00
Attributes.cpp [OpenMP] Support OpenMP 5.1 attributes 2021-07-12 06:51:19 -04:00
Builtins.cpp The compiler is crashing when compiling a coroutine intrinsic without 2021-05-26 18:07:31 -07:00
CMakeLists.txt [clang] NFC, move DarwinSDKInfo to lib/Basic 2021-07-20 13:22:48 -07:00
CharInfo.cpp
CodeGenOptions.cpp [NFC] Remove duplicate isNoBuiltinFunc method 2021-03-10 09:18:55 +01:00
Cuda.cpp [AMDGPU] Add gfx1035 target 2021-06-24 14:32:41 -04:00
DarwinSDKInfo.cpp [clang][driver][darwin] Add driver support for Mac Catalyst 2021-07-22 10:20:19 -07:00
Diagnostic.cpp [clang] Add a new nullability annotation for swift async: _Nullable_result 2020-12-07 17:19:20 -05:00
DiagnosticIDs.cpp [clang][NFC] pack StaticDiagInfoRec 2021-03-03 02:53:10 +00:00
DiagnosticOptions.cpp
ExpressionTraits.cpp [clang][NFC] Generate the {Type,ArrayType,UnaryExprOrType,Expression}Traits... 2020-06-11 14:35:52 +01:00
FileEntry.cpp Basic: Add native support for stdin to SourceManager and FileManager 2020-12-23 15:18:50 -08:00
FileManager.cpp PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
FileSystemStatCache.cpp
IdentifierTable.cpp Correct the 'KEYALL' mask. 2021-05-27 07:20:32 -07:00
LangOptions.cpp Apply -fmacro-prefix-map to __builtin_FILE() 2021-08-04 16:42:14 -07:00
LangStandards.cpp Move LangStandard*, InputKind::Language to Basic 2019-08-05 13:59:26 +00:00
Module.cpp [clang][modules] Build inferred modules 2021-05-17 10:40:51 +02:00
NoSanitizeList.cpp [clang][patch] Inclusive language, modify filename SanitizerBlacklist.h to NoSanitizeList.h 2021-02-22 15:11:37 -05:00
ObjCRuntime.cpp
OpenCLOptions.cpp [OpenCL] Add support of __opencl_c_pipes feature macro. 2021-07-30 18:10:25 +03:00
OpenMPKinds.cpp [OpenMP] Implement '#pragma omp unroll'. 2021-06-10 14:30:17 -05:00
OperatorPrecedence.cpp
ProfileList.cpp Fix "not all control paths return a value" warning. NFCI. 2021-01-27 10:15:21 +00:00
SanitizerSpecialCaseList.cpp Reland 9f3fdb0d7fab: [Driver] Use VFS to check if sanitizer blacklists exist 2019-11-21 11:56:09 +01:00
Sanitizers.cpp [clang-cl][sanitizer] Add -fsanitize-address-use-after-return to clang. 2021-06-11 12:07:35 -07:00
SourceLocation.cpp [clang] Introduce SourceLocation::[U]IntTy typedefs. 2021-07-21 10:45:46 +01:00
SourceManager.cpp [clang] Introduce SourceLocation::[U]IntTy typedefs. 2021-07-21 10:45:46 +01:00
Stack.cpp [msvc] Add necessary #include to make compiler intrinsics available. 2019-08-26 18:33:15 +00:00
TargetID.cpp [clang][AMDGPU] rename sram-ecc as sramecc 2020-12-07 18:05:47 -05:00
TargetInfo.cpp [OpenCL] Add support of __opencl_c_pipes feature macro. 2021-07-30 18:10:25 +03:00
Targets.cpp [OpenCL] Add support of __opencl_c_read_write_images feature macro 2021-07-13 15:38:23 +03:00
Targets.h
TokenKinds.cpp Use switch instead of series of comparisons 2019-08-03 16:32:49 +00:00
TypeTraits.cpp [clang][NFC] Generate the {Type,ArrayType,UnaryExprOrType,Expression}Traits... 2020-06-11 14:35:52 +01:00
Version.cpp Remove HAVE_VCS_VERSION_INC, not needed 2020-10-29 13:09:05 -07:00
Warnings.cpp [Sema] Special case -Werror-implicit-function-declaration and reject other -Werror- 2020-11-05 10:25:30 -08:00
XRayInstr.cpp [clang][cli] Generate and round-trip CodeGen options 2021-02-09 11:43:38 +01:00
XRayLists.cpp Avoid including FileManager.h from SourceManager.h 2020-03-11 13:53:12 -07:00