llvm-project/clang/lib/StaticAnalyzer/Core
Artem Dergachev 630f7daf80 [analyzer] Fix analyzer warnings on analyzer.
Write tests for the actual crash that was found. Write comments and refactor
code around 17 style bugs and suppress 3 false positives.

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

llvm-svn: 370246
2019-08-28 18:44:38 +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 Removed some dead code in BugReporter and related files 2019-08-21 08:48:24 +00:00
AnalyzerOptions.cpp [analyzer] Analysis: Silence checkers 2019-08-16 01:53:14 +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 Do a sweep of symbol internalization. NFC. 2019-08-23 19:59:23 +00:00
BugReporterVisitors.cpp [analyzer] Don't track the condition of foreach loops 2019-08-22 02:44:19 +00:00
CMakeLists.txt [analyzer] CastValueChecker: Store the dynamic types and casts 2019-08-22 00:20:36 +00:00
CallEvent.cpp [analyzer] CastValueChecker: Rewrite dead header hotfix 2019-08-22 00:36:42 +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 [analyzer] Fix analyzer warnings on analyzer. 2019-08-28 18:44:38 +00:00
CheckerManager.cpp [analyzer] NFC: Change evalCall() to provide a CallEvent. 2019-06-19 23:33:42 +00:00
CommonBugCategories.cpp [analyzer] Improve VirtualCallChecker and enable parts of it by default. 2019-08-20 21:41:14 +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
DynamicType.cpp [analyzer] CastValueChecker: Provide DynamicTypeMap with pointer types only. 2019-08-23 03:24:01 +00:00
Environment.cpp [analyzer] pr43036: Fix support for operator 'sizeof...'. 2019-08-28 18:44:35 +00:00
ExplodedGraph.cpp [analyzer][CFG] Don't track the condition of asserts 2019-08-14 12:20:08 +00:00
ExprEngine.cpp [analyzer] Fix a crash when destroying a non-region. 2019-08-20 21:41:17 +00:00
ExprEngineC.cpp [analyzer] Fix analyzer warnings on analyzer. 2019-08-28 18:44:38 +00:00
ExprEngineCXX.cpp [analyzer] Fix analyzer warnings on analyzer. 2019-08-28 18:44:38 +00:00
ExprEngineCallAndReturn.cpp [analyzer] StackFrameContext: Add NodeBuilderContext::blockCount() to its profile 2019-08-01 20:41:13 +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 [analyzer][NFC] Refactoring BugReporter.cpp P3.: std::shared_pointer<PathDiagnosticPiece> -> PathDiagnosticPieceRef 2019-08-13 16:45:48 +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] Fix analyzer warnings on analyzer. 2019-08-28 18:44:38 +00:00
PathDiagnostic.cpp Removed some dead code in BugReporter and related files 2019-08-21 08:48:24 +00:00
PlistDiagnostics.cpp [analyzer][NFC] Refactoring BugReporter.cpp P3.: std::shared_pointer<PathDiagnosticPiece> -> PathDiagnosticPieceRef 2019-08-13 16:45:48 +00:00
PrettyStackTraceLocationContext.h [analyzer] print() JSONify: Environment implementation 2019-05-29 15:36:58 +00:00
ProgramState.cpp [analyzer] CastValueChecker: Store the dynamic types and casts 2019-08-22 00:20:36 +00:00
RangeConstraintManager.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +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 analyzer warnings on analyzer. 2019-08-28 18:44:38 +00:00
SMTConstraintManager.cpp [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +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 Update the SARIF exporter to SARIF 2.1 2019-08-27 14:43:54 +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 [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00