llvm-project/clang/lib/StaticAnalyzer/Core
Bill Wendling 7c44da279e Create ConstantExpr class
A ConstantExpr class represents a full expression that's in a context where a
constant expression is required. This class reflects the path the evaluator
took to reach the expression rather than the syntactic context in which the
expression occurs.

In the future, the class will be expanded to cache the result of the evaluated
expression so that it's not needlessly re-evaluated

Reviewed By: rsmith

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

llvm-svn: 345692
2018-10-31 03:48:47 +00:00
..
APSIntType.cpp
AnalysisManager.cpp [analyzer] Add ASTContext to CheckerManager 2018-08-06 23:09:07 +00:00
AnalyzerOptions.cpp [analyzer][NFC] Fix inconsistencies in AnalyzerOptions 2018-10-21 18:19:32 +00:00
BasicValueFactory.cpp [StaticAnalyzer] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-03-02 23:11:49 +00:00
BlockCounter.cpp
BugReporter.cpp Create ConstantExpr class 2018-10-31 03:48:47 +00:00
BugReporterVisitors.cpp Create ConstantExpr class 2018-10-31 03:48:47 +00:00
CMakeLists.txt Add the ability to output static analysis results to SARIF. 2018-10-30 18:55:38 +00:00
CallEvent.cpp [analyzer] Teach CallEvent about C++17 aligned operator new(). 2018-10-15 17:53:18 +00:00
Checker.cpp [analyzer] Be more plugin-friendly by moving static locals into .cpp files. 2018-10-20 00:29:24 +00:00
CheckerContext.cpp [analyzer] introduce getSVal(Stmt *) helper on ExplodedNode, make sure the helper is used consistently 2018-01-17 20:27:29 +00:00
CheckerHelpers.cpp Model type attributes as regular Attrs. 2018-08-20 21:47:29 +00:00
CheckerManager.cpp [NFC][Test commit] Fix typos in a comment 2018-10-20 14:47:37 +00:00
CheckerRegistry.cpp llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...) 2018-09-26 22:16:28 +00:00
CommonBugCategories.cpp [analyzer] Fix memory error bug category capitalization. 2017-05-03 11:47:13 +00:00
ConstraintManager.cpp [StaticAnalyzer] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-02-28 01:10:04 +00:00
CoreEngine.cpp Fix MSVC "not all control paths return a value" warning. NFCI. 2018-10-22 10:46:37 +00:00
DynamicTypeMap.cpp [analyzer] Be more plugin-friendly by moving static locals into .cpp files. 2018-10-20 00:29:24 +00:00
Environment.cpp Create ConstantExpr class 2018-10-31 03:48:47 +00:00
ExplodedGraph.cpp [analyzer] Fix a bug in "collapsed" graph viewer 2018-10-25 23:38:58 +00:00
ExprEngine.cpp Create ConstantExpr class 2018-10-31 03:48:47 +00:00
ExprEngineC.cpp PR23833, DR2140: an lvalue-to-rvalue conversion on a glvalue of type 2018-10-30 02:02:49 +00:00
ExprEngineCXX.cpp [analyzer] Add support for constructors of arguments. 2018-08-15 00:33:55 +00:00
ExprEngineCallAndReturn.cpp [analyzer] NFC: Legalize state manager factory injection. 2018-09-25 22:10:12 +00:00
ExprEngineObjC.cpp [analyzer] [NFC] Remove unused parameters, as found by -Wunused-parameter 2018-09-28 18:49:41 +00:00
FunctionSummary.cpp [StaticAnalyzer] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-02-28 01:10:04 +00:00
HTMLDiagnostics.cpp [analyzer] [NFC] Remove unused parameters, as found by -Wunused-parameter 2018-09-28 18:49:41 +00:00
IssueHash.cpp Remove trailing space 2018-07-30 19:24:48 +00:00
LoopUnrolling.cpp [analyzer] Unroll the loop when it has a unsigned counter. 2018-03-31 12:46:46 +00:00
LoopWidening.cpp [analyzer] Avoid querying this-pointers for static-methods. 2018-08-07 23:13:28 +00:00
MemRegion.cpp [analyzer] [NFC] Remove unused parameters, as found by -Wunused-parameter 2018-09-28 18:49:41 +00:00
PathDiagnostic.cpp [analyzer] [NFC] Remove unused parameters, as found by -Wunused-parameter 2018-09-28 18:49:41 +00:00
PlistDiagnostics.cpp [analyzer][NFC] Refactor PlistDiagnostics to use a class instead of passing 9 parameters around 2018-10-29 20:06:30 +00:00
PrettyStackTraceLocationContext.h [CSA] [NFC] Move AnalysisContext.h to AnalysisDeclContext.h 2017-09-06 21:45:03 +00:00
ProgramState.cpp [analyzer] [NFC] Change scanReachableSymbols to use ranges 2018-10-23 23:12:12 +00:00
RangeConstraintManager.cpp [analyzer] pr38273: Legalize Loc<>NonLoc comparison symbols. 2018-07-23 23:09:44 +00:00
RangedConstraintManager.cpp [analyzer] Be more plugin-friendly by moving static locals into .cpp files. 2018-10-20 00:29:24 +00:00
RegionStore.cpp [analyzer] [NFC] Remove unused parameters, as found by -Wunused-parameter 2018-09-28 18:49:41 +00:00
RetainSummaryManager.cpp [analyzer] [RetainCountChecker] Do not invalidate references passed to constructors and operators 2018-10-25 23:38:41 +00:00
SValBuilder.cpp [analyzer] [NFC] Remove unused "state" argument from makeSymExprValNN 2018-08-29 20:28:54 +00:00
SVals.cpp [analyzer] Fix symbol discovery in nonloc::LocAsInteger values. 2018-10-02 20:48:12 +00:00
SarifDiagnostics.cpp Silencing a -Wunused-variable warning; NFC. 2018-10-30 19:23:06 +00:00
SimpleConstraintManager.cpp [analyzer] Refactor and simplify SimpleConstraintManager 2017-02-25 04:51:31 +00:00
SimpleSValBuilder.cpp [analyzer] Resolve the crash in ReturnUndefChecker 2018-08-29 20:29:59 +00:00
Store.cpp [analyzer] Fix a crash on casting symbolic pointers to derived classes. 2018-09-26 00:17:14 +00:00
SubEngine.cpp
SymbolManager.cpp [analyzer] Fix dumping for SymbolConjured conjured at no particular statement. 2018-10-22 20:11:10 +00:00
TaintManager.cpp [analyzer] Be more plugin-friendly by moving static locals into .cpp files. 2018-10-20 00:29:24 +00:00
WorkList.cpp [analyzer] Fix a bug in unexplored_first_location_queue iteration order. 2018-10-12 00:52:13 +00:00
Z3ConstraintManager.cpp [analyzer] Move canReasonAbout from Z3ConstraintManager to SMTConstraintManager 2018-10-25 17:27:42 +00:00