diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-19 10:52:20 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-02-19 11:23:57 +0000 |
commit | 778e9a65bf5af07c4caeff969a0324e43a78e66b (patch) | |
tree | a5204f0d3eaf2f512a627eeb9e74d42e7e80b54f /compilerplugins/clang/plugin.cxx | |
parent | 541c4c4509863beb7babe361b31e27f7295e3069 (diff) |
new loplugin: find write-only fields
Change-Id: I0f83939babacf92485420ee63f290a297d7cb717
Reviewed-on: https://gerrit.libreoffice.org/22498
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'compilerplugins/clang/plugin.cxx')
-rw-r--r-- | compilerplugins/clang/plugin.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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; }; |