diff options
Diffstat (limited to 'compilerplugins/clang/store')
-rw-r--r-- | compilerplugins/clang/store/stylepolice.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/store/stylepolice.cxx b/compilerplugins/clang/store/stylepolice.cxx index e70b74b2e43c..87a9e4437901 100644 --- a/compilerplugins/clang/store/stylepolice.cxx +++ b/compilerplugins/clang/store/stylepolice.cxx @@ -111,7 +111,7 @@ bool StylePolice::VisitVarDecl(const VarDecl * varDecl) if (!qt->isPointerType() && !qt->isArrayType() && !qt->isFunctionPointerType() && !qt->isMemberPointerType() && matchPointerVar(name) && !startswith(typeName, "boost::intrusive_ptr") - && !startswith(typeName, "boost::optional") + && !startswith(typeName, "o3tl::optional") && !startswith(typeName, "boost::shared_ptr") && !startswith(typeName, "com::sun::star::uno::Reference") && !startswith(typeName, "cppu::OInterfaceIteratorHelper") |