llvm-project/clang/lib/StaticAnalyzer/Core
Jordan Rose 219c9d0dd3 [analyzer] Though C++ inlining is enabled, don't inline ctors and dtors.
More generally, this adds a new configuration option 'c++-inlining', which
controls which C++ member functions can be considered for inlining. This
uses the new -analyzer-config table, so the cc1 arguments will look like this:

... -analyzer-config c++-inlining=[none|methods|constructors|destructors]

Note that each mode implies that all the previous member function kinds
will be inlined as well; it doesn't make sense to inline destructors
without inlining constructors, for example.

The default mode is 'methods'.

llvm-svn: 163004
2012-08-31 17:06:49 +00:00
..
APSIntType.cpp [analyzer] Rework both constraint managers to handle mixed-type comparisons. 2012-05-08 03:27:16 +00:00
AnalysisManager.cpp Store const& to AnalyzerOptions in AnalysisManager instead of copying 2012-08-30 19:26:43 +00:00
AnalyzerOptions.cpp [analyzer] Though C++ inlining is enabled, don't inline ctors and dtors. 2012-08-31 17:06:49 +00:00
BasicValueFactory.cpp Drop the ASTContext.h include from Stmt.h and fix up transitive users. 2012-07-04 17:04:04 +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] Ensure that PathDiagnostics profile the same regardless of path. 2012-08-31 00:36:26 +00:00
BugReporterVisitors.cpp Rename AnalyzerOptions 'EagerlyAssume' to 'eagerlyAssumeBinOpBifurcation'. 2012-08-30 19:26:48 +00:00
CMakeLists.txt [analyzer] Though C++ inlining is enabled, don't inline ctors and dtors. 2012-08-31 17:06:49 +00:00
CallEvent.cpp [analyzer] Teach CallEventManager that CXXTemporaryObjectExpr is also a ctor. 2012-08-28 20:52:21 +00:00
Checker.cpp Reapply r149311 which I reverted by mistake. 2012-01-31 02:23:28 +00:00
CheckerContext.cpp Unify naming of LangOptions variable/get function across the Clang stack (Lex to AST). 2012-03-11 07:00:24 +00:00
CheckerHelpers.cpp Split 'include/clang/StaticAnalyzer' into 'include/clang/StaticAnalyzer/Core' and 'include/clang/StaticAnalyzer/Checkers'. 2011-02-10 01:03:03 +00:00
CheckerManager.cpp [analyzer] Use the common evalBind infrastructure for initializers. 2012-08-25 01:06:23 +00:00
CheckerRegistry.cpp Revert my patches which removed Diagnostic.h includes by moving some operator overloads out of line. 2012-02-07 22:29:24 +00:00
CoreEngine.cpp [analyzer] Refactor the logic that determines if a functions should be 2012-08-30 23:42:02 +00:00
Environment.cpp [analyzer] Support C++ default arguments if they are literal values. 2012-08-23 18:10:53 +00:00
ExplodedGraph.cpp [analyzer] Rename CallEvent::mayBeInlined to CallEvent::isCallStmt. 2012-08-28 00:50:38 +00:00
ExprEngine.cpp [analyzer] Refactor the logic that determines if a functions should be 2012-08-30 23:42:02 +00:00
ExprEngineC.cpp Change the representation of builtin functions in the AST 2012-08-31 00:14:07 +00:00
ExprEngineCXX.cpp [analyzer] Inline constructors for any object with a trivial destructor. 2012-08-27 17:50:07 +00:00
ExprEngineCallAndReturn.cpp [analyzer] Though C++ inlining is enabled, don't inline ctors and dtors. 2012-08-31 17:06:49 +00:00
ExprEngineObjC.cpp Rename 'currentX' to 'currX' throughout analyzer and libAnalysis. 2012-08-22 06:26:15 +00:00
FunctionSummary.cpp [analyzer] Record the basic blocks covered by the analyzes run. 2012-04-03 02:05:47 +00:00
HTMLDiagnostics.cpp [analyzer] Ensure that PathDiagnostics profile the same regardless of path. 2012-08-31 00:36:26 +00:00
Makefile
MemRegion.cpp [analyzer] Only adjust the type of 'this' when we devirtualize a method call. 2012-08-15 17:33:34 +00:00
PathDiagnostic.cpp [analyzer] Ensure that PathDiagnostics profile the same regardless of path. 2012-08-31 00:36:26 +00:00
PlistDiagnostics.cpp [analyzer] Ensure that PathDiagnostics profile the same regardless of path. 2012-08-31 00:36:26 +00:00
ProgramState.cpp Rename 'unbindLoc()' (in ProgramState) and 'Remove()' to 2012-08-22 06:37:46 +00:00
RangeConstraintManager.cpp Despite me asking Jordan to do r162313, revert it. We can provide 2012-08-22 19:58:20 +00:00
RegionStore.cpp Fix an assortment of doxygen comment issues found by -Wdocumentation. 2012-08-22 23:50:41 +00:00
SValBuilder.cpp Rename 'getConjuredSymbol*' to 'conjureSymbol*'. 2012-08-22 06:26:06 +00:00
SVals.cpp [analyzer] Don't strip CXXBaseObjectRegions when checking dynamic_casts. 2012-08-13 22:11:34 +00:00
SimpleConstraintManager.cpp Despite me asking Jordan to do r162313, revert it. We can provide 2012-08-22 19:58:20 +00:00
SimpleConstraintManager.h [analyzer] Rework both constraint managers to handle mixed-type comparisons. 2012-05-08 03:27:16 +00:00
SimpleSValBuilder.cpp [analyzer] Fixit for r158136. 2012-06-07 20:18:08 +00:00
Store.cpp [analyzer] A CXXBaseObjectRegion should correspond to a DIRECT base. 2012-08-09 21:24:02 +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 Fix undefined behavior: member function calls where 'this' is a null pointer. 2012-08-23 06:16:52 +00:00
TextPathDiagnostics.cpp [analyzer] Ensure that PathDiagnostics profile the same regardless of path. 2012-08-31 00:36:26 +00:00