llvm-project/clang/lib/StaticAnalyzer/Core
Balazs Keri aeac909329 [CrossTU] Fix plist macro expansion if macro in other file.
Summary:
When cross TU analysis is used it is possible that a macro expansion
is generated for a macro that is defined (and used) in other than
the main translation unit. To get the expansion for it the source
location in the original source file and original preprocessor
is needed.

Reviewers: martong, xazax.hun, Szelethus, ilya-biryukov

Reviewed By: Szelethus

Subscribers: mgorny, NoQ, ilya-biryukov, rnkovacs, dkrupp, Szelethus, gamesh411, cfe-commits

Tags: #clang

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

llvm-svn: 367006
2019-07-25 10:53:22 +00:00
..
APSIntType.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AnalysisManager.cpp Fix parameter name comments using clang-tidy. NFC. 2019-07-16 04:46:31 +00:00
AnalyzerOptions.cpp [analyzer] Add a new frontend flag to display all checker options 2019-05-23 20:47:28 +00:00
BasicValueFactory.cpp [cxx2a] P1236R1: the validity of a left shift does not depend on the 2019-06-25 01:45:26 +00:00
BlockCounter.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BugReporter.cpp Fix parameter name comments using clang-tidy. NFC. 2019-07-16 04:46:31 +00:00
BugReporterVisitors.cpp [analyzer] Add a debug analyzer config to place an event for each tracked condition 2019-07-05 14:00:08 +00:00
CMakeLists.txt [CrossTU] Fix plist macro expansion if macro in other file. 2019-07-25 10:53:22 +00:00
CallEvent.cpp [CTU] Add support for virtual functions 2019-07-04 11:39:00 +00:00
Checker.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CheckerContext.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CheckerHelpers.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CheckerManager.cpp [analyzer] NFC: Change evalCall() to provide a CallEvent. 2019-06-19 23:33:42 +00:00
CommonBugCategories.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ConstraintManager.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
CoreEngine.cpp [analyzer] Fix clang-tidy crash on GCCAsmStmt 2019-06-27 22:46:40 +00:00
DynamicTypeMap.cpp Fix parameter name comments using clang-tidy. NFC. 2019-07-16 04:46:31 +00:00
Environment.cpp [analyzer] print() JSONify: Create pointers 2019-06-25 03:17:55 +00:00
ExplodedGraph.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ExprEngine.cpp Fix parameter name comments using clang-tidy. NFC. 2019-07-16 04:46:31 +00:00
ExprEngineC.cpp [C++2a] Add __builtin_bit_cast, used to implement std::bit_cast 2019-07-02 18:28:13 +00:00
ExprEngineCXX.cpp [CFG] Add branch to skip vbase inits when they're handled by superclass. 2019-05-24 23:37:08 +00:00
ExprEngineCallAndReturn.cpp Fix parameter name comments using clang-tidy. NFC. 2019-07-16 04:46:31 +00:00
ExprEngineObjC.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
FunctionSummary.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
HTMLDiagnostics.cpp [CrossTU] Added CTU argument to diagnostic consumer create fn. 2019-07-23 07:04:20 +00:00
IssueHash.cpp Make SourceManager::createFileID(UnownedTag, ...) take a const llvm::MemoryBuffer* 2019-04-04 21:06:41 +00:00
LoopUnrolling.cpp [CFG] NFC: Remove implicit conversion from CFGTerminator to Stmt *. 2019-05-24 01:34:22 +00:00
LoopWidening.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MemRegion.cpp [analyzer] Add a comment that FunctionCodeRegions may also need canonicalization 2019-02-09 01:00:32 +00:00
PathDiagnostic.cpp [analyzer] ReturnValueChecker: Model the guaranteed boolean return value of function calls 2019-07-04 00:50:50 +00:00
PlistDiagnostics.cpp [CrossTU] Fix plist macro expansion if macro in other file. 2019-07-25 10:53:22 +00:00
PrettyStackTraceLocationContext.h [analyzer] print() JSONify: Environment implementation 2019-05-29 15:36:58 +00:00
ProgramState.cpp [analyzer] print() JSONify: Program state implementation 2019-05-29 16:22:21 +00:00
RangeConstraintManager.cpp [analyzer] print() JSONify: Constraints implementation 2019-05-29 15:43:26 +00:00
RangedConstraintManager.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RegionStore.cpp [analyzer] Fix -Wunused-function in NDEBUG builds with #ifdef LLVM_DUMP_METHOD 2019-07-22 04:14:09 +00:00
SMTConstraintManager.cpp Moved everything SMT-related to LLVM and updated the cmake scripts. 2019-03-25 17:47:45 +00:00
SValBuilder.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SVals.cpp [analyzer] print() JSONify: SVal implementation 2019-05-29 18:38:52 +00:00
SarifDiagnostics.cpp [CrossTU] Added CTU argument to diagnostic consumer create fn. 2019-07-23 07:04:20 +00:00
SimpleConstraintManager.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SimpleSValBuilder.cpp Fix parameter name comments using clang-tidy. NFC. 2019-07-16 04:46:31 +00:00
Store.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SubEngine.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SymbolManager.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
WorkList.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00