llvm-project/clang/lib/Lex
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
..
CMakeLists.txt Add clang source minimizer that reduces source to directives 2019-06-03 22:59:17 +00:00
DependencyDirectivesSourceMinimizer.cpp Add support for #elifdef and #elifndef 2021-05-27 08:57:47 -04:00
HeaderMap.cpp [clang] Rename StringRef _lower() method calls to _insensitive() 2021-06-25 00:22:01 +03:00
HeaderSearch.cpp PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
Lexer.cpp Revert "Revert "[clang][pp] adds '#pragma include_instead'"" 2021-07-29 19:21:43 +00:00
LiteralSupport.cpp [clang][lex] NFC: Add explicit cast to silence -Wsign-compare 2021-07-22 12:21:12 +02:00
MacroArgs.cpp Remove cache for macro arg stringization 2019-07-30 17:58:22 +00:00
MacroInfo.cpp
ModuleMap.cpp [clang] Introduce SourceLocation::[U]IntTy typedefs. 2021-07-21 10:45:46 +01:00
PPCaching.cpp [clang] Introduce SourceLocation::[U]IntTy typedefs. 2021-07-21 10:45:46 +01:00
PPCallbacks.cpp Avoid including FileManager.h from SourceManager.h 2020-03-11 13:53:12 -07:00
PPConditionalDirectiveRecord.cpp Add support for #elifdef and #elifndef 2021-05-27 08:57:47 -04:00
PPDirectives.cpp Revert "Revert "[clang][pp] adds '#pragma include_instead'"" 2021-07-29 19:21:43 +00:00
PPExpressions.cpp Support macro deprecation #pragma clang deprecated 2021-07-29 12:40:53 -05:00
PPLexerChange.cpp Revert "Revert "[clang][pp] adds '#pragma include_instead'"" 2021-07-29 19:21:43 +00:00
PPMacroExpansion.cpp Apply -fmacro-prefix-map to __builtin_FILE() 2021-08-04 16:42:14 -07:00
Pragma.cpp Revert "Revert "[clang][pp] adds '#pragma include_instead'"" 2021-07-29 19:21:43 +00:00
PreprocessingRecord.cpp Add support for #elifdef and #elifndef 2021-05-27 08:57:47 -04:00
Preprocessor.cpp Support macro deprecation #pragma clang deprecated 2021-07-29 12:40:53 -05:00
PreprocessorLexer.cpp
ScratchBuffer.cpp SourceManager: Make LastLineNoContentCache and ContentCache::SourceLineCache mutable, NFC 2020-10-23 13:22:47 -04:00
TokenConcatenation.cpp C++2a -> C++20 in some identifiers; NFC. 2020-04-21 15:37:19 -04:00
TokenLexer.cpp [clang] Introduce SourceLocation::[U]IntTy typedefs. 2021-07-21 10:45:46 +01:00
UnicodeCharSets.h clang: Fix typo in comment 2019-08-21 15:41:29 +00:00