summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/sharedvisitor
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2021-04-09 17:16:11 +0200
committerLuboš Luňák <l.lunak@collabora.com>2021-04-12 12:38:37 +0200
commit4eac7a11e5d39ca6c783f65f1ca2df009b9a37e4 (patch)
tree824eb16394f982cea6e5a0763983a27ae7eff0f0 /compilerplugins/clang/sharedvisitor
parent40f9888ddc5def405d5a7724cb70f26eca527f01 (diff)
convert few more clang plugins to shared
Change-Id: If8ee55d36f1fd2b2dee8c0a1596dee0c7d05eb6f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113886 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'compilerplugins/clang/sharedvisitor')
-rw-r--r--compilerplugins/clang/sharedvisitor/dummyplugin.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/compilerplugins/clang/sharedvisitor/dummyplugin.hxx b/compilerplugins/clang/sharedvisitor/dummyplugin.hxx
index 0ccc36dc86c9..1ef87416a907 100644
--- a/compilerplugins/clang/sharedvisitor/dummyplugin.hxx
+++ b/compilerplugins/clang/sharedvisitor/dummyplugin.hxx
@@ -56,6 +56,8 @@ public:
bool TraverseFriendDecl( FriendDecl* ) { return complain(); }
bool TraverseTypeLoc( TypeLoc ) { return complain(); }
bool TraverseAlignedAttr( AlignedAttr* ) { return complain(); }
+ bool TraverseVarDecl( VarDecl* ) { return complain(); }
+ bool TraverseUnaryExprOrTypeTraitExpr( UnaryExprOrTypeTraitExpr* ) { return complain(); }
private:
bool complain() { assert(false && "should not be calling this in sharedplugin mode"); abort(); return false; }
};