Searched defs:isFunctionOrMethod (Results 1 - 2 of 2) sorted by relevance

/external/clang/include/clang/AST/
H A DDeclBase.h385 /// not a code context (!isFunctionOrMethod()), returns null.
1134 bool isFunctionOrMethod() const { function in class:clang::DeclContext
/external/clang/lib/Sema/
H A DSemaDeclAttr.cpp47 /// isFunctionOrMethod - Return true if the given decl has function
50 static bool isFunctionOrMethod(const Decl *D) { function
64 /// isFunctionOrMethod or isFunctionOrMethodOrBlock.
221 assert(isFunctionOrMethod(D));
1491 if (!isFunctionOrMethod(D) && !isa<BlockDecl>(D)) {
1587 } else if (!isFunctionOrMethod(D)) {
3007 } else if (!isFunctionOrMethod(D)) {
3290 if (!isFunctionOrMethod(D) || !hasFunctionProto(D)) {

Completed in 898 milliseconds