/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | SymbolTable.h | 98 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()
|
D | limits.cpp | 116 const TType* type = (*function->getAsFunction())[i].type; in visitAggregate()
|
D | SymbolTable.cpp | 242 TFunction* function = (*candidate).second->getAsFunction(); in relateToOperator()
|
D | ParseHelper.cpp | 894 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/ |
D | ParseCXXInlineMethods.cpp | 116 !(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()
|
D | ParseTemplate.cpp | 1336 FunctionDecl *FunD = LPT.D->getAsFunction(); in ParseLateTemplatedFuncDef()
|
D | Parser.cpp | 1057 FunctionDecl *FnD = DP->getAsFunction(); in ParseFunctionDefinition()
|
/external/clang/include/clang/AST/ |
D | DeclBase.h | 913 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/ |
D | SemaCUDA.cpp | 457 FunctionDecl *OldD = D->getAsFunction(); in maybeAddCUDAHostDeviceAttrs()
|
D | SemaAccess.cpp | 1079 << isa<CXXDestructorDecl>(D->getAsFunction()); in TryDiagnoseProtectedAccess() 1754 assert(isa<CXXMethodDecl>(target->getAsFunction())); in CheckFriendAccess() 1763 CXXMethodDecl *method = cast<CXXMethodDecl>(target->getAsFunction()); in CheckFriendAccess()
|
D | SemaLookup.cpp | 2769 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()
|
D | SemaDecl.cpp | 1193 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()
|
D | SemaCodeComplete.cpp | 679 if (const FunctionDecl *Function = ND->getAsFunction()) in getDeclUsageType() 2084 if (const FunctionDecl *Function = ND->getAsFunction()) in AddResultTypeChunk()
|
D | SemaOverload.cpp | 958 if (FunctionDecl *OldF = OldD->getAsFunction()) { in CheckOverload()
|
D | SemaDeclCXX.cpp | 7980 if (FunctionDecl *FD = Target->getAsFunction()) { in CheckUsingShadowDecl()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 7443 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/ |
D | DeclBase.cpp | 188 FunctionDecl *Decl::getAsFunction() { in getAsFunction() function in Decl
|
D | ExprCXX.cpp | 1201 if (cast<CXXMethodDecl>(decl->getUnderlyingDecl()->getAsFunction()) in hasOnlyNonStaticMemberFunctions()
|
D | Decl.cpp | 622 } else if (const FunctionDecl *Function = D->getAsFunction()) { in getLVForNamespaceScopeDecl() 1626 if (const auto *MD = dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction())) in isCXXInstanceMember()
|
D | DeclCXX.cpp | 1101 cast<CXXConversionDecl>(Conv->getUnderlyingDecl()->getAsFunction()) in GetConversionType()
|
/external/deqp-deps/glslang/hlsl/ |
D | hlslParseHelper.cpp | 1592 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()
|