llvm-project/clang/lib/StaticAnalyzer/Core
Benjamin Kramer 5caa50e469 [analyzer] Sort path diagnostics with array_pod_sort.
They're expensive to compare and we won't sort many of them so std::sort
doesn't give any benefits and causes code bloat. Func fact: clang -O3 didn't
even bother to inline libc++'s std::sort here.

While there validate the predicate a bit harder, the sort is unstable and we
don't want to introduce any non-determinism. I had to spell out the function
pointer type because GCC 4.7 still fails to convert the lambda to a function
pointer :(

No intended functionality change.

llvm-svn: 232263
2015-03-14 12:39:22 +00:00
..
APSIntType.cpp [analyzer] Teach constraint managers about unsigned comparisons. 2013-03-23 01:21:33 +00:00
AnalysisManager.cpp Add support for the static analyzer to synthesize function implementations from external model files. 2014-08-27 15:14:15 +00:00
AnalyzerOptions.cpp [analyzer] Individual configuration options can be specified for checkers. 2015-03-04 17:59:34 +00:00
BasicValueFactory.cpp [C++11] Use 'nullptr'. StaticAnalyzer edition. 2014-05-27 02:45:47 +00:00
BlockCounter.cpp [C++11] Simplify compare operators with std::tie. 2014-03-03 20:26:46 +00:00
BugReporter.cpp Prefer SmallVector::append/insert over push_back loops. Clang edition. 2015-02-17 16:48:30 +00:00
BugReporterVisitors.cpp Update APIs that return a pair of iterators to return an iterator_range instead. 2015-02-06 17:25:10 +00:00
CMakeLists.txt Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
CallEvent.cpp Simplify creation of a bunch of ArrayRefs by using None, makeArrayRef or just letting them be implicitly created. 2014-08-27 06:28:36 +00:00
Checker.cpp Analyzer: Replace a set of particularly ugly faux variadics. 2015-02-15 20:11:07 +00:00
CheckerContext.cpp Cleanup handling of UniqueExternalLinkage. 2013-05-13 00:12:11 +00:00
CheckerHelpers.cpp
CheckerManager.cpp [C++11] Use 'nullptr'. StaticAnalyzer edition. 2014-05-27 02:45:47 +00:00
CheckerRegistry.cpp [C++11] Use 'nullptr'. StaticAnalyzer edition. 2014-05-27 02:45:47 +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 Simplify ownership of ExplodedGraph in the CoreEngine by removing unique_ptr indirection. 2014-08-08 23:36:37 +00:00
Environment.cpp Removing an "if (this == nullptr)" check from two print methods. The condition 2014-06-09 22:53:25 +00:00
ExplodedGraph.cpp Reduce double set lookups. NFC. 2014-10-10 15:32:48 +00:00
ExprEngine.cpp [analyzer] Relax an assertion in VisitLvalArraySubscriptExpr 2015-02-05 01:02:59 +00:00
ExprEngineC.cpp Test commit, no changes. 2015-01-20 09:47:57 +00:00
ExprEngineCXX.cpp [C++11] Use 'nullptr'. StaticAnalyzer edition. 2014-05-27 02:45:47 +00:00
ExprEngineCallAndReturn.cpp Do not inline methods of C++ containers (coming from headers). 2014-06-27 01:03:05 +00:00
ExprEngineObjC.cpp [C++11] Use 'nullptr'. StaticAnalyzer edition. 2014-05-27 02:45:47 +00:00
FunctionSummary.cpp [analyzer] Use inline storage in the FunctionSummary DenseMap. 2013-04-02 00:26:26 +00:00
HTMLDiagnostics.cpp [cleanup] Re-sort *all* #include lines with llvm/utils/sort_includes.py 2015-01-14 11:29:14 +00:00
Makefile
MemRegion.cpp Update APIs that return a pair of iterators to return an iterator_range instead. 2015-02-06 17:25:10 +00:00
PathDiagnostic.cpp [analyzer] Sort path diagnostics with array_pod_sort. 2015-03-14 12:39:22 +00:00
PlistDiagnostics.cpp [Static Analyzer] The name of the checker that reports a bug is added 2015-02-09 22:52:26 +00:00
PrettyStackTraceLocationContext.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
ProgramState.cpp unique_ptrify the result of ConstraintManagerCreator and StoreManagerCreator 2014-09-04 23:54:37 +00:00
RangeConstraintManager.cpp unique_ptrify the result of ConstraintManagerCreator and StoreManagerCreator 2014-09-04 23:54:37 +00:00
RegionStore.cpp Make helper functions static. NFC. 2015-03-09 16:47:52 +00:00
SValBuilder.cpp [analyzer] Always use 'bool' as the SValBuilder condition type in C++. 2013-12-19 22:32:39 +00:00
SVals.cpp [C++11] Use 'nullptr'. StaticAnalyzer edition. 2014-05-27 02:45:47 +00:00
SimpleConstraintManager.cpp [C++11] Use 'nullptr'. StaticAnalyzer edition. 2014-05-27 02:45:47 +00:00
SimpleConstraintManager.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
SimpleSValBuilder.cpp [C++11] Use 'nullptr'. StaticAnalyzer edition. 2014-05-27 02:45:47 +00:00
Store.cpp [analyzer] Refactor and cleanup IsCompleteType 2014-10-03 21:49:03 +00:00
SubEngine.cpp
SymbolManager.cpp [C++11] Use 'nullptr'. StaticAnalyzer edition. 2014-05-27 02:45:47 +00:00