diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-05-06 02:59:29 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2010-05-06 02:59:29 +0000 |
commit | 9174b2c2f9251db08fea0c4e48372b9a599f57af (patch) | |
tree | 13c7afba2093214a1b5b820c3f4b6fb5bc0c5de9 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9feb1bb11727cb79a71015fd950473269bcdafd6 (diff) | |
download | bcm5719-llvm-9174b2c2f9251db08fea0c4e48372b9a599f57af.tar.gz bcm5719-llvm-9174b2c2f9251db08fea0c4e48372b9a599f57af.zip |
Make -analyzer-inline-call not a separate analysis. Instead it's a boolean
flag now, and can be used with other analyses. Only turned it on for C++
methods for now.
llvm-svn: 103160
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index e1275c16fe9..92f33d01be0 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -797,6 +797,7 @@ static void ParseAnalyzerArgs(AnalyzerOptions &Opts, ArgList &Args, Args.hasArg(OPT_analyzer_experimental_internal_checks); Opts.TrimGraph = Args.hasArg(OPT_trim_egraph); Opts.MaxNodes = getLastArgIntValue(Args, OPT_analyzer_max_nodes,150000,Diags); + Opts.InlineCall = Args.hasArg(OPT_analyzer_inline_call); } static void ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, |