summaryrefslogtreecommitdiffstats
path: root/clang/examples
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2011-02-09 22:59:20 +0000
committerTed Kremenek <kremenek@apple.com>2011-02-09 22:59:20 +0000
commit0bc2855aa9ac47324e577f48ad8c310f98998aa7 (patch)
tree273015fb41bd4ec7b9f1e98b491cbb2e5936e646 /clang/examples
parent52847a9bb983b03a36a7fc79b3e1953bbfb6ccfa (diff)
downloadbcm5719-llvm-0bc2855aa9ac47324e577f48ad8c310f98998aa7.tar.gz
bcm5719-llvm-0bc2855aa9ac47324e577f48ad8c310f98998aa7.zip
Update clang-wpa to pass extra argument to AnalysisManager constructor.
llvm-svn: 125235
Diffstat (limited to 'clang/examples')
-rw-r--r--clang/examples/wpa/clang-wpa.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/examples/wpa/clang-wpa.cpp b/clang/examples/wpa/clang-wpa.cpp
index d5cb6f84586..b54eb37698f 100644
--- a/clang/examples/wpa/clang-wpa.cpp
+++ b/clang/examples/wpa/clang-wpa.cpp
@@ -143,7 +143,8 @@ int main(int argc, char **argv) {
/* TrimGraph */ false, /* InlineCall */ true,
/* UseUnoptimizedCFG */ false,
/* addImplicitDtors */ true,
- /* addInitializers */ false);
+ /* addInitializers */ false,
+ /* reclaimeNodes */ true);
TransferFuncs* TF = MakeCFRefCountTF(AMgr.getASTContext(), /*GC*/false,
AMgr.getLangOptions());
OpenPOWER on IntegriCloud