15#ifndef LLVM_CLANG_AST_ASTLAMBDA_H
16#define LLVM_CLANG_AST_ASTLAMBDA_H
29 if (!LambdaClass || !LambdaClass->
isLambda())
return false;
34 if (!DC || !isa<CXXMethodDecl>(DC))
return false;
40 cast<CXXMethodDecl>(DC)->isExplicitObjectMemberFunction();
49 !cast<CXXMethodDecl>(DC)->getType().isNull() &&
50 !cast<CXXMethodDecl>(DC)->isExplicitObjectMemberFunction();
54 if (!MD)
return false;
63 return C ?
C->getParent()->isLambda() :
false;