summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/inline.c
Commit message (Collapse)AuthorAgeFilesLines
* Turn -analyzer-inline-call on for C functions. This also fixed a bug thatZhongxing Xu2010-05-061-2/+2
| | | | | | after inlining post-call checking shouldn't be done. llvm-svn: 103161
* Refactor the AnalysisConsumer to analyze functions after the whole Zhongxing Xu2010-04-301-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
* Tweak null dereference diagnostics to give clearer diagnostics whenTed Kremenek2010-03-231-1/+1
| | | | | | a null dereference results from a field access. llvm-svn: 99236
* Add test case for inlining call analysis.Zhongxing Xu2010-02-271-0/+20
llvm-svn: 97300
OpenPOWER on IntegriCloud