summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/inline4.c
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2010-04-30 04:14:20 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2010-04-30 04:14:20 +0000
commit685a1d818d5c42e7bd88cba2d49e2e95daa56f7a (patch)
tree5375cdc3596512da00b235614789a98cee1b338b /clang/test/Analysis/inline4.c
parente7db86ddb01ce22de3923822cfcc98bdc48b494e (diff)
downloadbcm5719-llvm-685a1d818d5c42e7bd88cba2d49e2e95daa56f7a.tar.gz
bcm5719-llvm-685a1d818d5c42e7bd88cba2d49e2e95daa56f7a.zip
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. llvm-svn: 102689
Diffstat (limited to 'clang/test/Analysis/inline4.c')
-rw-r--r--clang/test/Analysis/inline4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Analysis/inline4.c b/clang/test/Analysis/inline4.c
index dd2379f0438..b2b3c346e37 100644
--- a/clang/test/Analysis/inline4.c
+++ b/clang/test/Analysis/inline4.c
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 -analyze -inline-call -analyzer-store region -analyze-function f -verify %s
-
+// RUN: false
+// XFAIL: *
int g(int a) {
return a;
}
OpenPOWER on IntegriCloud