llvm-project/clang/lib
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
..
APINotes [clang][APINotes] Fix -Wunused-function warning (NFC) 2021-04-01 09:52:43 +08:00
ARCMigrate [clang] Introduce SourceLocation::[U]IntTy typedefs. 2021-07-21 10:45:46 +01:00
AST Apply -fmacro-prefix-map to __builtin_FILE() 2021-08-04 16:42:14 -07:00
ASTMatchers [clang] Rename StringRef _lower() method calls to _insensitive() 2021-06-25 00:22:01 +03:00
Analysis [analyzer][NFC] Display the correct function name even in crash dumps 2021-07-12 09:06:46 +02:00
Basic Apply -fmacro-prefix-map to __builtin_FILE() 2021-08-04 16:42:14 -07:00
CodeGen Apply -fmacro-prefix-map to __builtin_FILE() 2021-08-04 16:42:14 -07:00
CrossTU PR51018: Remove explicit conversions from SmallString to StringRef to future-proof against C++23 2021-07-08 13:37:57 -07:00
DirectoryWatcher Revert "Re-Revert "DirectoryWatcher: add an implementation for Windows"" 2021-06-19 09:19:52 -07:00
Driver [clang] [MinGW] Let the last of -mconsole/-mwindows have effect 2021-08-03 10:55:44 +03:00
Edit [Matrix] Implement C-style explicit type conversions for matrix types. 2021-04-10 11:48:41 +01:00
Format [clan-format] detect function definitions more conservatively 2021-08-03 16:19:35 +02:00
Frontend Apply -fmacro-prefix-map to __builtin_FILE() 2021-08-04 16:42:14 -07:00
FrontendTool [OptTable] Rename PrintHelp to printHelp 2021-06-24 14:47:03 -07:00
Headers [OpenCL] allow generic address and non-generic defs for CL3.0 2021-08-05 07:32:45 +10:00
Index [index] Fix performance regression with indexing macros 2021-06-16 10:16:26 -07:00
IndexSerialization
Interpreter Reland "[clang-repl] Implement partial translation units and error recovery." 2021-07-12 15:21:22 +00:00
Lex Apply -fmacro-prefix-map to __builtin_FILE() 2021-08-04 16:42:14 -07:00
Parse Make simple requirements starting with requires ill-formed in in requirement body 2021-08-03 07:42:29 -04:00
Rewrite [analyzer] Highlight arrows for currently selected event 2021-08-02 19:15:01 +03:00
Sema [clang] fix crash on template instantiation of invalid requires expressions 2021-08-03 23:16:04 +02:00
Serialization [clang] Introduce SourceLocation::[U]IntTy typedefs. 2021-07-21 10:45:46 +01:00
StaticAnalyzer [analyzer] Highlight arrows for currently selected event 2021-08-02 19:15:01 +03:00
Testing
Tooling [clang][Driver] Expose driver mode detection logic 2021-07-27 14:49:53 +02:00
CMakeLists.txt [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00