aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Analysis/inline3.c
AgeCommit message (Collapse)AuthorFilesLines
2012-10-19Prior to adding the new "expected-no-diagnostics" directive to ↵Andy Gibbs1-0/+1
VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. llvm-svn: 166280
2012-08-21[analyzer] -analyzer-ipa=inlining is now the default. Remove it from tests.Jordan Rose1-1/+1
The actual change here is a little more complicated than the summary above. What we want to do is have our generic inlining tests run under whatever mode is the default. However, there are some tests that depend on the presence of C++ inlining, which still has some rough edges. These tests have been explicitly marked as -analyzer-ipa=inlining in preparation for a new mode that limits inlining to C functions and blocks. This will be the default until the false positives for C++ have been brought down to manageable levels. llvm-svn: 162317
2012-03-08[analyzer] Rework inlining related command line options.Anna Zaks1-1/+1
- Remove -analyzer-inline-call. - Add -analyzer-ipa=[none|inlining] - Add -analyzer-inlining-mode to allow experimentation for different performance tuning methods. llvm-svn: 152351
2011-10-24Rename AnalysisContext to AnalysisDeclContext. Not only is this name more ↵Ted Kremenek1-1/+1
accurate, but it frees up the name AnalysisContext for other uses. llvm-svn: 142782
2011-02-28[analyzer] Remove '-analyzer-check-objc-mem' flag, the nominee for best ↵Argyrios Kyrtzidis1-1/+1
misnomer award. llvm-svn: 126676
2010-05-06Turn -analyzer-inline-call on for C functions. This also fixed a bug thatZhongxing Xu1-2/+1
after inlining post-call checking shouldn't be done. llvm-svn: 103161
2010-04-30Refactor the AnalysisConsumer to analyze functions after the whole Zhongxing Xu1-2/+2
translation unit is parsed. This enables us to inline some calls when still analyzing one function at a time. Actions are classified into Function, CXXMethod, ObjCMethod, ObjCImplementation. This does not hurt performance much. The analysis time for sqlite3.c: before: real 17m52.440s user 17m49.460s sys 0m2.010s after: real 18m0.500s user 17m56.900s sys 0m2.330s DisplayProgress option is broken now. -inine-call action is removed. It will be reenabled in another form, perhaps as an indenpendant option. llvm-svn: 102689
2010-03-04When profiling Environment, also profile with AnalysisContext*, bacauseZhongxing Xu1-0/+15
we now may have identical states with different analysis context. Set the right AnalysisContext in state when entering and leaving a callee. With both of the above changes, we can pass the test case. llvm-svn: 97724