Home
last modified time | relevance | path

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

/external/deqp-deps/glslang/glslang/MachineIndependent/
DSymbolTable.h98 virtual TFunction* getAsFunction() { return 0; } in getAsFunction() function
99 virtual const TFunction* getAsFunction() const { return 0; } in getAsFunction() function
235 virtual TFunction* getAsFunction() override { return this; } in getAsFunction() function
236 virtual const TFunction* getAsFunction() const override { return this; } in getAsFunction() function
387 if (symbol.getAsFunction()) { in insert()
443 list.push_back(it->second->getAsFunction()); in findFunctionNameList()
626 …if (! separateNameSpaces && ! symbol.getAsFunction() && table[currentLevel()]->hasFunctionName(sym… in insert()
Dlimits.cpp116 const TType* type = (*function->getAsFunction())[i].type; in visitAggregate()
DSymbolTable.cpp242 TFunction* function = (*candidate).second->getAsFunction(); in relateToOperator()
DParseHelper.cpp894 if (symbol && symbol->getAsFunction() && builtIn) in handleFunctionDeclarator()
896 const TFunction* prevDec = symbol ? symbol->getAsFunction() : 0; in handleFunctionDeclarator()
920 …symbol->getAsFunction()->setPrototyped(); // need a writable one, but like having prevDec as a co… in handleFunctionDeclarator()
946 TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr; in handleFunctionDefinition()
5861 return symbol->getAsFunction(); in findFunctionExact()
5870 return symbol->getAsFunction(); in findFunction120()
5978 return symbol->getAsFunction(); in findFunction400()
6043 return symbol->getAsFunction(); in findFunctionExplicitTypes()
7380 if (symbol->getAsFunction()) { in addQualifierToExisting()
/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp116 !(FnD && FnD->getAsFunction() && in ParseCXXInlineMethodDef()
117 FnD->getAsFunction()->getReturnType()->getContainedAutoType()) && in ParseCXXInlineMethodDef()
127 FunctionDecl *FD = FnD->getAsFunction(); in ParseCXXInlineMethodDef()
179 FunctionDecl *FD = FnD->getAsFunction(); in ParseCXXInlineMethodDef()
565 LM.D->getAsFunction()->setLateTemplateParsed(false); in ParseLexedMethodDef()
DParseTemplate.cpp1336 FunctionDecl *FunD = LPT.D->getAsFunction(); in ParseLateTemplatedFuncDef()
DParser.cpp1057 FunctionDecl *FnD = DP->getAsFunction(); in ParseFunctionDefinition()
/external/clang/include/clang/AST/
DDeclBase.h913 FunctionDecl *getAsFunction() LLVM_READONLY;
915 const FunctionDecl *getAsFunction() const { in getAsFunction() function
916 return const_cast<Decl *>(this)->getAsFunction(); in getAsFunction()
/external/clang/lib/Sema/
DSemaCUDA.cpp457 FunctionDecl *OldD = D->getAsFunction(); in maybeAddCUDAHostDeviceAttrs()
DSemaAccess.cpp1079 << isa<CXXDestructorDecl>(D->getAsFunction()); in TryDiagnoseProtectedAccess()
1754 assert(isa<CXXMethodDecl>(target->getAsFunction())); in CheckFriendAccess()
1763 CXXMethodDecl *method = cast<CXXMethodDecl>(target->getAsFunction()); in CheckFriendAccess()
DSemaLookup.cpp2769 const FunctionDecl *FDecl = D->getUnderlyingDecl()->getAsFunction(); in FindAssociatedClassesAndNamespaces()
3201 NoteOverloadCandidate(*I, (*I)->getUnderlyingDecl()->getAsFunction()); in LookupLiteralOperator()
3233 FunctionDecl *OldFD = Old->getAsFunction(); in insert()
3234 FunctionDecl *NewFD = New->getAsFunction(); in insert()
DSemaDecl.cpp1193 FunctionDecl *FD = D->getAsFunction(); in ActOnReenterFunctionContext()
2742 FunctionDecl *Old = OldD->getAsFunction(); in MergeFunctionDecl()
8738 OldMD = dyn_cast_or_null<CXXMethodDecl>(OldDecl->getAsFunction()); in CheckFunctionDeclaration()
11420 if (const FunctionDecl *FD = D->getAsFunction()) in canSkipFunctionBody()
11440 FunctionDecl *FD = dcl ? dcl->getAsFunction() : nullptr; in ActOnFinishFunctionBody()
DSemaCodeComplete.cpp679 if (const FunctionDecl *Function = ND->getAsFunction()) in getDeclUsageType()
2084 if (const FunctionDecl *Function = ND->getAsFunction()) in AddResultTypeChunk()
DSemaOverload.cpp958 if (FunctionDecl *OldF = OldD->getAsFunction()) { in CheckOverload()
DSemaDeclCXX.cpp7980 if (FunctionDecl *FD = Target->getAsFunction()) { in CheckUsingShadowDecl()
/external/clang/tools/libclang/
DCIndex.cpp7443 D ? dyn_cast_or_null<CXXConstructorDecl>(D->getAsFunction()) : nullptr; in clang_CXXConstructor_isDefaultConstructor()
7453 D ? dyn_cast_or_null<CXXConstructorDecl>(D->getAsFunction()) : nullptr; in clang_CXXConstructor_isCopyConstructor()
7463 D ? dyn_cast_or_null<CXXConstructorDecl>(D->getAsFunction()) : nullptr; in clang_CXXConstructor_isMoveConstructor()
7473 D ? dyn_cast_or_null<CXXConstructorDecl>(D->getAsFunction()) : nullptr; in clang_CXXConstructor_isConvertingConstructor()
7494 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isPureVirtual()
7504 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isConst()
7514 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isDefaulted()
7524 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isStatic()
7534 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isVirtual()
/external/clang/lib/AST/
DDeclBase.cpp188 FunctionDecl *Decl::getAsFunction() { in getAsFunction() function in Decl
DExprCXX.cpp1201 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
DDecl.cpp622 } else if (const FunctionDecl *Function = D->getAsFunction()) { in getLVForNamespaceScopeDecl()
1626 if (const auto *MD = dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction())) in isCXXInstanceMember()
DDeclCXX.cpp1101 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
/external/deqp-deps/glslang/hlsl/
DhlslParseHelper.cpp1592 const TFunction* prevDec = symbol ? symbol->getAsFunction() : 0; in handleFunctionDeclarator()
1601 …symbol->getAsFunction()->setPrototyped(); // need a writable one, but like having prevDec as a co… in handleFunctionDeclarator()
1647 TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr; in handleFunctionDefinition()
5310 fnCandidate = symbol->getAsFunction(); in handleFunctionCall()
7296 return symbol->getAsFunction(); in findFunction()
8782 if (symbol->getAsFunction()) { in addQualifierToExisting()