llvm-project/clang/lib/StaticAnalyzer/Core
Jordan Rose 236dbd25e7 [analyzer] Specialize "loop executed 0 times" for for-in and for-range loops.
The path note that says "Loop body executed 0 times" has been changed to
"Loop body skipped when range is empty" for C++11 for-range loops, and to
"Loop body skipped when collection is empty" for Objective-C for-in loops.

Part of <rdar://problem/14992886>

llvm-svn: 194234
2013-11-08 01:15:30 +00:00
..
APSIntType.cpp [analyzer] Teach constraint managers about unsigned comparisons. 2013-03-23 01:21:33 +00:00
AnalysisManager.cpp Add configuration plumbing to enable static initializer branching in the CFG for the analyzer. 2013-03-29 00:09:22 +00:00
AnalyzerOptions.cpp Revert "[analyzer] Add very limited support for temporary destructors" 2013-07-23 02:15:11 +00:00
BasicValueFactory.cpp [analyzer] Disallow creation of int vals with explicit bit width / signedness. 2012-09-01 17:39:24 +00:00
BlockCounter.cpp Cleanup various declarations of 'Stmt*' to be 'Stmt *', etc. in libAnalyzer and libStaticAnalyzer[*]. It was highly inconsistent, and very ugly to look at. 2011-08-12 23:37:29 +00:00
BugReporter.cpp [analyzer] Specialize "loop executed 0 times" for for-in and for-range loops. 2013-11-08 01:15:30 +00:00
BugReporterVisitors.cpp [analyzer] Suppress warnings coming out of std::basic_string. 2013-11-04 19:13:03 +00:00
CMakeLists.txt [analyzer] Replace bug category magic strings with shared constants, take 2. 2013-10-04 00:25:24 +00:00
CallEvent.cpp [analyzer] Make inlining decisions based on the callee being variadic. 2013-09-28 02:04:19 +00:00
Checker.cpp Reapply r149311 which I reverted by mistake. 2012-01-31 02:23:28 +00:00
CheckerContext.cpp Cleanup handling of UniqueExternalLinkage. 2013-05-13 00:12:11 +00:00
CheckerHelpers.cpp
CheckerManager.cpp [analyzer] This patch removes passing around of const-invalidation vs regular-invalidation info by passing around a datastructure that maps regions and symbols to the type of invalidation they experience. This simplifies the code and would allow to associate more different invalidation types in the future. 2013-09-24 23:47:29 +00:00
CheckerRegistry.cpp Remove useless 'llvm::' qualifier from names like StringRef and others that are 2013-01-12 19:30:44 +00:00
CommonBugCategories.cpp [analyzer] Replace bug category magic strings with shared constants, take 2. 2013-10-04 00:25:24 +00:00
ConstraintManager.cpp [analyzer] Let ConstraintManager subclasses provide a more efficient checkNull. 2012-10-31 16:44:55 +00:00
CoreEngine.cpp Add static analyzer support for conditionally executing static initializers. 2013-03-29 00:09:28 +00:00
Environment.cpp [analyzer] Consolidate constant evaluation logic in SValBuilder. 2013-05-01 23:10:44 +00:00
ExplodedGraph.cpp Use pop_back_val() instead of both back() and pop_back(). 2013-08-23 16:11:15 +00:00
ExprEngine.cpp [analyzer] Handle destructors for the argument to C++ 'delete'. 2013-09-25 16:06:17 +00:00
ExprEngineC.cpp [analyzer] Allow pre/post-statement checkers for UnaryOperator. 2013-09-27 16:47:52 +00:00
ExprEngineCXX.cpp [analyzer] Handle destructors for the argument to C++ 'delete'. 2013-09-25 16:06:17 +00:00
ExprEngineCallAndReturn.cpp [analyzer] Make inlining decisions based on the callee being variadic. 2013-09-28 02:04:19 +00:00
ExprEngineObjC.cpp Include llvm::Optional in clang/Basic/LLVM.h 2013-02-20 22:23:23 +00:00
FunctionSummary.cpp [analyzer] Use inline storage in the FunctionSummary DenseMap. 2013-04-02 00:26:26 +00:00
HTMLDiagnostics.cpp Use llvm::sys::fs::createUniqueFile. 2013-07-05 21:13:58 +00:00
Makefile
MemRegion.cpp [analyzer] This patch removes passing around of const-invalidation vs regular-invalidation info by passing around a datastructure that maps regions and symbols to the type of invalidation they experience. This simplifies the code and would allow to associate more different invalidation types in the future. 2013-09-24 23:47:29 +00:00
PathDiagnostic.cpp [analyzer] Don't crash when a path goes through a 'delete' destructor call. 2013-10-31 18:41:15 +00:00
PlistDiagnostics.cpp Use pop_back_val() instead of both back() and pop_back(). 2013-08-23 16:11:15 +00:00
PrettyStackTraceLocationContext.h [analyzer] Include analysis stack in crash traces. 2013-07-19 00:59:08 +00:00
ProgramState.cpp [analyzer] This patch removes passing around of const-invalidation vs regular-invalidation info by passing around a datastructure that maps regions and symbols to the type of invalidation they experience. This simplifies the code and would allow to associate more different invalidation types in the future. 2013-09-24 23:47:29 +00:00
RangeConstraintManager.cpp [analyzer] Teach constraint managers about unsigned comparisons. 2013-03-23 01:21:33 +00:00
RegionStore.cpp [analyzer] Generate a LazyCompoundVal when loading from a union-typed region. 2013-10-23 20:08:55 +00:00
SValBuilder.cpp [analyzer] Don't even try to convert floats to booleans for now. 2013-09-18 18:58:58 +00:00
SVals.cpp [analyzer] Ensure BugReporterTracking works on regions with pointer arithmetic 2013-04-20 01:15:42 +00:00
SimpleConstraintManager.cpp [analyzer] Add support for testing the presence of weak functions. 2013-08-28 17:07:04 +00:00
SimpleConstraintManager.h [analyzer] Add support for testing the presence of weak functions. 2013-08-28 17:07:04 +00:00
SimpleSValBuilder.cpp [analyzer] Add support for testing the presence of weak functions. 2013-08-28 17:07:04 +00:00
Store.cpp Fix static analyzer crash when casting from an incomplete type 2013-06-20 07:45:01 +00:00
SubEngine.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
SymbolManager.cpp [analyzer] Add support for testing the presence of weak functions. 2013-08-28 17:07:04 +00:00