Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DMoveChecker.cpp221 bool isStateResetMethod(const CXXMethodDecl *MethodDec) const;
222 bool isMoveSafeMethod(const CXXMethodDecl *MethodDec) const;
498 bool MoveChecker::isMoveSafeMethod(const CXXMethodDecl *MethodDec) const { in isMoveSafeMethod()
501 dyn_cast_or_null<CXXConversionDecl>(MethodDec)) { in isMoveSafeMethod()
509 return (MethodDec && MethodDec->getDeclName().isIdentifier() && in isMoveSafeMethod()
510 (MethodDec->getName().lower() == "empty" || in isMoveSafeMethod()
511 MethodDec->getName().lower() == "isempty")); in isMoveSafeMethod()
514 bool MoveChecker::isStateResetMethod(const CXXMethodDecl *MethodDec) const { in isStateResetMethod()
515 if (!MethodDec) in isStateResetMethod()
517 if (MethodDec->hasAttr<ReinitializesAttr>()) in isStateResetMethod()
[all …]