summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/finalclasses.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/finalclasses.cxx')
-rw-r--r--compilerplugins/clang/finalclasses.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/compilerplugins/clang/finalclasses.cxx b/compilerplugins/clang/finalclasses.cxx
index e061bb7c5ef2..327ff92653c0 100644
--- a/compilerplugins/clang/finalclasses.cxx
+++ b/compilerplugins/clang/finalclasses.cxx
@@ -47,6 +47,8 @@ public:
virtual void run() override
{
+ handler.enableTreeWideAnalysisMode();
+
TraverseDecl(compiler.getASTContext().getTranslationUnitDecl());
// dump all our output in one write call - this is to try and limit IO "crosstalk" between multiple processes