aboutsummaryrefslogtreecommitdiff
path: root/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2013-01-08 20:09:00 +0000
committerAnna Zaks <ganna@apple.com>2013-01-08 20:09:00 +0000
commit41748f7d3ae36db1b1c52eaaf76631ed60c79c53 (patch)
tree3ecddf32eb2f233cfdc6f240f6cac4445290eb22 /include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
parent2db356d619fbf56e342fbc3fd5301e2e539e51b6 (diff)
[analyzer] Bump down the max size of functions being analyzed.
With the new setting, we are not going to inline any functions that are more than 50 basic blocks. (The analyzer is 20% faster on several especially bad benchmarks with the new default.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171891 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/StaticAnalyzer/Core/AnalyzerOptions.h')
-rw-r--r--include/clang/StaticAnalyzer/Core/AnalyzerOptions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h b/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
index 02bb036a0a..5ae8262abe 100644
--- a/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
+++ b/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h
@@ -304,7 +304,7 @@ public:
NoRetryExhausted = 0;
// Cap the stack depth at 4 calls (5 stack frames, base + 4 calls).
InlineMaxStackDepth = 5;
- InlineMaxFunctionSize = 200;
+ InlineMaxFunctionSize = 50;
InliningMode = NoRedundancy;
}
};