llvm-project/clang/lib/Basic
George Karpenkov 441e8fdf94 [NFC] Extract method to SourceManager for traversing the macro "stack"
The code for going up the macro arg expansion is duplicated in many
places (and we need it for the analyzer as well, so I did not want to
duplicate it two more times).

This patch is an NFC, so the semantics should remain the same.

Differential Revision: https://reviews.llvm.org/D42458

llvm-svn: 324780
2018-02-09 23:30:07 +00:00
..
Targets AMDGPU: Update for datalayout change 2018-02-09 16:58:41 +00:00
Attributes.cpp Add #pragma clang attribute 2017-04-18 14:33:39 +00:00
Builtins.cpp [OpenMP] Implement omp_is_initial_device() as builtin 2017-10-17 14:28:14 +00:00
CMakeLists.txt [RISCV] Add the RISCV target and compiler driver 2018-01-11 13:36:56 +00:00
CharInfo.cpp
Cuda.cpp Add NVPTX Support to ValidCPUList (enabling march notes) 2018-02-08 23:16:00 +00:00
Diagnostic.cpp [modules] Fix incorrect diagnostic mapping computation when a module changes 2018-02-09 01:15:13 +00:00
DiagnosticIDs.cpp Make DiagnosticIDs::getAllDiagnostics use std::vector. NFC. 2017-12-20 16:55:41 +00:00
DiagnosticOptions.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
FileManager.cpp Use VFS operations in FileManager::makeAbsolutePath. 2017-08-02 07:25:24 +00:00
FileSystemStatCache.cpp [VFS] Replace TimeValue usage with std::chrono 2016-11-09 10:52:22 +00:00
IdentifierTable.cpp [Basic] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2017-11-03 22:35:27 +00:00
LangOptions.cpp [Modules] Handle sanitizer feature mismatches when importing modules 2017-06-01 20:01:01 +00:00
MemoryBufferCache.cpp Reapply "Modules: Cache PCMs in memory and avoid a use-after-free" 2017-03-20 17:58:26 +00:00
Module.cpp Reapply r321781: [Modules] Allow modules specified by -fmodule-map-file to shadow implicitly found ones 2018-01-05 02:33:18 +00:00
ObjCRuntime.cpp Watch and TV OS: wire up basic ABI choices 2015-10-30 16:30:36 +00:00
OpenMPKinds.cpp [OPENMP] Initial codegen for `target teams distribute parallel for 2018-01-15 20:59:40 +00:00
OperatorPrecedence.cpp [c++20] P0515R3: Parsing support and basic AST construction for operator <=>. 2017-12-14 15:16:18 +00:00
SanitizerBlacklist.cpp Allow specifying sanitizers in blacklists 2017-09-25 22:11:12 +00:00
SanitizerSpecialCaseList.cpp Update SanitizerSpecialCaseList to use renamed functions in base class. 2017-11-07 21:16:37 +00:00
Sanitizers.cpp Pull trivial SanitizerSet methods into the header. 2015-07-14 15:34:19 +00:00
SourceLocation.cpp Revert "Revert "[NFC] Refactor DiagnosticRenderer to use FullSourceLoc"" 2017-06-27 09:50:38 +00:00
SourceManager.cpp [NFC] Extract method to SourceManager for traversing the macro "stack" 2018-02-09 23:30:07 +00:00
TargetInfo.cpp [OpenCL] Fix layering violation by getOpenCLTypeAddrSpace 2017-12-06 10:11:28 +00:00
Targets.cpp Make march/target-cpu print a note with the list of valid values for ARM 2018-02-08 23:14:15 +00:00
Targets.h [MINGW] normalize WIN32 macros 2017-11-21 11:28:29 +00:00
TokenKinds.cpp
Version.cpp
VersionTuple.cpp MS ABI: Implement driver-level support for thread-safe statics 2015-03-22 08:39:22 +00:00
VirtualFileSystem.cpp [VirtualFileSystem] Support creating directories then adding files inside 2017-11-16 19:34:08 +00:00
Warnings.cpp
XRayLists.cpp Allow specifying sanitizers in blacklists 2017-09-25 22:11:12 +00:00