From 778e9a65bf5af07c4caeff969a0324e43a78e66b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 19 Feb 2016 10:52:20 +0200 Subject: new loplugin: find write-only fields Change-Id: I0f83939babacf92485420ee63f290a297d7cb717 Reviewed-on: https://gerrit.libreoffice.org/22498 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- compilerplugins/clang/plugin.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'compilerplugins/clang/plugin.cxx') diff --git a/compilerplugins/clang/plugin.cxx b/compilerplugins/clang/plugin.cxx index 9beca1146fd4..c11c6eccee2d 100644 --- a/compilerplugins/clang/plugin.cxx +++ b/compilerplugins/clang/plugin.cxx @@ -104,6 +104,7 @@ class ParentBuilder bool VisitFunctionDecl( const FunctionDecl* function ); bool VisitObjCMethodDecl( const ObjCMethodDecl* method ); void walk( const Stmt* stmt ); + bool shouldVisitTemplateInstantiations () const { return true; } unordered_map< const Stmt*, const Stmt* >* parents; }; -- cgit