diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-04-30 04:14:20 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-04-30 04:14:20 +0000 |
commit | ed8afacb8118b71bcfa8017059e51da325e7691b (patch) | |
tree | 26bda88b50b82e4652328bdc39920769052afd4b /lib/Sema/SemaCodeComplete.cpp | |
parent | 51e2a5d45d321c53355fe038b3a3e7a2f502afa4 (diff) |
Refactor the AnalysisConsumer to analyze functions after the whole
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102689 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions