llvm-project/clang/lib/StaticAnalyzer/Core
George Karpenkov c41f37987b [analyzer] [NFC] Minor refactoring of trackNullOrUndefValue
Simple refactoring attempt: factor out some code, remove some
repetition, use auto where appropriate.

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

llvm-svn: 322151
2018-01-10 01:30:32 +00:00
..
APSIntType.cpp
AnalysisManager.cpp [Analyzer] Do not use static storage to for implementations created in BodyFarm.cpp 2017-10-23 23:59:52 +00:00
AnalyzerOptions.cpp [CFG] Add LoopExit information to CFG 2017-08-19 11:19:16 +00:00
BasicValueFactory.cpp [analyzer] Left shifting a negative value is undefined 2017-10-30 17:06:42 +00:00
BlockCounter.cpp [analyzer] Apply whitespace cleanups by Honggyu Kim. 2015-09-08 03:50:52 +00:00
BugReporter.cpp [analyzer] do not crash with assertion on processing locations of bodyfarmed functions 2018-01-02 23:05:47 +00:00
BugReporterVisitors.cpp [analyzer] [NFC] Minor refactoring of trackNullOrUndefValue 2018-01-10 01:30:32 +00:00
CMakeLists.txt [StaticAnalyzer] Completely unrolling specific loops with known bound option 2017-07-25 19:23:23 +00:00
CallEvent.cpp [analyzer] Handle ObjC messages conservatively in CallDescription 2017-10-30 08:47:13 +00:00
Checker.cpp [analyzer] Apply whitespace cleanups by Honggyu Kim. 2015-09-08 03:50:52 +00:00
CheckerContext.cpp [Analyzer] Clarify error messages for undefined result 2017-10-11 14:49:35 +00:00
CheckerHelpers.cpp Fix Clang-tidy modernize-use-nullptr warnings; other minor fixes. 2016-01-26 19:01:06 +00:00
CheckerManager.cpp [analyzer] Add LocationContext as a parameter to checkRegionChanges 2017-01-13 00:50:57 +00:00
CheckerRegistry.cpp [analyzer] Command line option to show enabled checker list. 2016-08-08 13:41:04 +00:00
CommonBugCategories.cpp [analyzer] Fix memory error bug category capitalization. 2017-05-03 11:47:13 +00:00
ConstraintManager.cpp [analyzer] Refactor and simplify SimpleConstraintManager 2017-02-25 04:51:31 +00:00
CoreEngine.cpp [StaticAnalyzer] Handle LoopExit CFGElement in the analyzer 2017-08-21 16:10:19 +00:00
DynamicTypeMap.cpp Spelling mistakes in comments. NFCI. (PR27635) 2017-03-30 14:13:19 +00:00
Environment.cpp [CSA] [NFC] Move AnalysisContext.h to AnalysisDeclContext.h 2017-09-06 21:45:03 +00:00
ExplodedGraph.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
ExprEngine.cpp [analyzer] do not crash on cases where an array subscript is an rvalue 2017-12-05 21:19:59 +00:00
ExprEngineC.cpp [analyzer] Fix false negative on post-increment of uninitialized variable. 2017-11-30 09:18:35 +00:00
ExprEngineCXX.cpp [analyzer] Fix a crash during C++17 aggregate construction of base objects. 2017-12-20 00:40:38 +00:00
ExprEngineCallAndReturn.cpp [StaticAnalyzer] Move inline counter increaser to inlineCall function 2017-05-16 11:54:00 +00:00
ExprEngineObjC.cpp [analyzer] Add LocationContext as a parameter to checkRegionChanges 2017-01-13 00:50:57 +00:00
FunctionSummary.cpp
HTMLDiagnostics.cpp [analyzer] Add Javascript to analyzer HTML output to allow keyboard navigation. 2017-12-21 22:57:51 +00:00
IssueHash.cpp [analyzer] Use the signature of the primary template for issue hash calculation 2017-10-30 12:16:07 +00:00
LoopUnrolling.cpp [analyzer] LoopUnrolling: check the bitwidth of the used numbers (pr34943) 2017-10-28 12:19:08 +00:00
LoopWidening.cpp [Analyzer] Fix comments and formatting. NFC. 2015-11-10 11:48:55 +00:00
MemRegion.cpp [analyzer] Mark heap-based symbolic regions in debug dumps. 2017-12-05 17:14:39 +00:00
PathDiagnostic.cpp [analyzer] Fix unreachable creating PathDiagnosticLocation with widen-loops=true 2017-11-29 18:25:37 +00:00
PlistDiagnostics.cpp Migrate PathDiagnosticPiece to std::shared_ptr 2017-01-05 17:26:53 +00:00
PrettyStackTraceLocationContext.h [CSA] [NFC] Move AnalysisContext.h to AnalysisDeclContext.h 2017-09-06 21:45:03 +00:00
ProgramState.cpp [analyzer] do not crash when trying to convert an APSInt to an unexpected type 2017-11-09 21:49:38 +00:00
RangeConstraintManager.cpp [c++20] P0515R3: Parsing support and basic AST construction for operator <=>. 2017-12-14 15:16:18 +00:00
RangedConstraintManager.cpp [c++20] P0515R3: Parsing support and basic AST construction for operator <=>. 2017-12-14 15:16:18 +00:00
RangedConstraintManager.h [analyzer] Refactor and simplify SimpleConstraintManager 2017-02-25 04:51:31 +00:00
RegionStore.cpp [analyzer] Fix zero-initialization of stack VLAs under ObjC ARC. 2017-12-21 18:43:02 +00:00
SValBuilder.cpp Revert "[analyzer] Support generating and reasoning over more symbolic constraint types" 2017-07-12 21:43:42 +00:00
SVals.cpp SVal::getAsSymbol(bool IncludeBaseRegions): Follow clang/StaticAnalyzer/Core/PathSensitive/SVals.h, s/IncludeBaseRegion/IncludeBaseRegions/g [-Wdocumentation] 2017-10-12 09:42:12 +00:00
SimpleConstraintManager.cpp [analyzer] Refactor and simplify SimpleConstraintManager 2017-02-25 04:51:31 +00:00
SimpleSValBuilder.cpp [c++20] P0515R3: Parsing support and basic AST construction for operator <=>. 2017-12-14 15:16:18 +00:00
Store.cpp [analyzer] Fix handling of labels in getLValueElement 2017-10-23 23:46:06 +00:00
SubEngine.cpp
SymbolManager.cpp [analyzer] Dump signed integers in SymIntExpr and IntSymExpr correctly 2017-10-19 11:58:21 +00:00
Z3ConstraintManager.cpp Revert "[analyzer] Support generating and reasoning over more symbolic constraint types" 2017-07-12 21:43:42 +00:00