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

/external/clang/include/clang/AST/
H A DDeclBase.h388 /// not a code context (!isFunctionOrMethod()), returns null.
1067 bool isFunctionOrMethod() const { function in class:clang::DeclContext
/external/clang/lib/Sema/
H A DSemaDeclAttr.cpp92 /// isFunctionOrMethod - Return true if the given decl has function
95 static bool isFunctionOrMethod(const Decl *D) { function
103 if (isFunctionOrMethod(D))
123 /// isFunctionOrMethod or isFunctionOrMethodOrBlock.
245 assert(isFunctionOrMethod(D));
1157 if (!isFunctionOrMethod(D)) {
1200 if (!isFunctionOrMethod(D) || !hasFunctionProto(D)) {
1717 if (!isFunctionOrMethod(D) && !isa<BlockDecl>(D)) {
1843 if (!isa<VarDecl>(D) && !isa<ObjCIvarDecl>(D) && !isFunctionOrMethod(D) &&
1888 } else if (!isFunctionOrMethod(
[all...]

Completed in 84 milliseconds