summaryrefslogtreecommitdiffstats
path: root/compilerplugins/clang/plugin.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-28 14:52:54 +0200
committerNoel Grandin <noel@peralex.com>2016-06-28 14:53:17 +0200
commit442dd6a153385d7c2826eabe0737d4d53332f392 (patch)
treee16a8a31526551de1f6810a0c22a6ac898231bf4 /compilerplugins/clang/plugin.hxx
parentSimplify some PutProperties calls (diff)
downloadcore-442dd6a153385d7c2826eabe0737d4d53332f392.tar.gz
core-442dd6a153385d7c2826eabe0737d4d53332f392.zip
loplugin: move parentFunctionDecl() into common code
Change-Id: Ia10a76a98a63c6ea3b516d9146281f672b213ab3
Diffstat (limited to 'compilerplugins/clang/plugin.hxx')
-rw-r--r--compilerplugins/clang/plugin.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/compilerplugins/clang/plugin.hxx b/compilerplugins/clang/plugin.hxx
index c630a3ec055b..6b9f682082b4 100644
--- a/compilerplugins/clang/plugin.hxx
+++ b/compilerplugins/clang/plugin.hxx
@@ -69,6 +69,7 @@ class Plugin
*/
const Stmt* parentStmt( const Stmt* stmt );
Stmt* parentStmt( Stmt* stmt );
+ const FunctionDecl* parentFunctionDecl( const Stmt* stmt );
/**
Checks if the location is inside an UNO file, more specifically, if it forms part of the URE stable interface,
which is not allowed to be changed.