Home
last modified time | relevance | path

Searched refs:MethodDec (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DMoveChecker.cpp221 bool isStateResetMethod(const CXXMethodDecl *MethodDec) const;
222 bool isMoveSafeMethod(const CXXMethodDecl *MethodDec) const;
493 bool MoveChecker::isMoveSafeMethod(const CXXMethodDecl *MethodDec) const { in isMoveSafeMethod()
496 dyn_cast_or_null<CXXConversionDecl>(MethodDec)) { in isMoveSafeMethod()
504 return (MethodDec && MethodDec->getDeclName().isIdentifier() && in isMoveSafeMethod()
505 (MethodDec->getName().lower() == "empty" || in isMoveSafeMethod()
506 MethodDec->getName().lower() == "isempty")); in isMoveSafeMethod()
509 bool MoveChecker::isStateResetMethod(const CXXMethodDecl *MethodDec) const { in isStateResetMethod()
510 if (!MethodDec) in isStateResetMethod()
512 if (MethodDec->hasAttr<ReinitializesAttr>()) in isStateResetMethod()
[all …]