diff options
Diffstat (limited to 'compilerplugins/clang/store/returnbyref.cxx')
-rw-r--r-- | compilerplugins/clang/store/returnbyref.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compilerplugins/clang/store/returnbyref.cxx b/compilerplugins/clang/store/returnbyref.cxx index aacfd7d833cf..9fa66131a880 100644 --- a/compilerplugins/clang/store/returnbyref.cxx +++ b/compilerplugins/clang/store/returnbyref.cxx @@ -73,6 +73,10 @@ bool ReturnByRef::VisitCXXMethodDecl(const CXXMethodDecl * functionDecl) { if ( functionDecl->getNameAsString() == "operator->") { return true; } + std::string aFunctionName = functionDecl->getQualifiedNameAsString(); + if (aFunctionName == "SbxValue::data") { + return true; + } /* std::string aParentName = functionDecl->getParent()->getQualifiedNameAsString(); std::string fqn = aParentName + "::" + functionDecl->getNameAsString(); |