Home | History | Annotate | Download | only in Sema

Lines Matching defs:isFunction

86 /// isFunction - Return true if the given decl has function
88 static bool isFunction(const Decl *D) {
96 return isFunction(D) || isa<ObjCMethodDecl>(D);
1303 if (!isFunction(D) || !hasFunctionProto(D)) {
2604 if (!isFunction(D) && !isa<ObjCMethodDecl>(D) && !isa<CXXRecordDecl>(D)) {
2610 if (isFunction(D) && getFunctionType(D)->getResultType()->isVoidType()) {