Home
last modified time | relevance | path

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

123

/external/deqp-deps/glslang/glslang/MachineIndependent/
DSymbolTable.h100 virtual TFunction* getAsFunction() { return 0; } in getAsFunction() function
101 virtual const TFunction* getAsFunction() const { return 0; } in getAsFunction() function
260 virtual TFunction* getAsFunction() override { return this; } in getAsFunction() function
261 virtual const TFunction* getAsFunction() const override { return this; } in getAsFunction() function
423 if (symbol.getAsFunction()) { in insert()
479 list.push_back(it->second->getAsFunction()); in findFunctionNameList()
670 …if (! separateNameSpaces && ! symbol.getAsFunction() && table[currentLevel()]->hasFunctionName(sym… in insert()
Dlimits.cpp116 const TType* type = (*function->getAsFunction())[i].type; in visitAggregate()
DSymbolTable.cpp298 TFunction* function = (*candidate).second->getAsFunction(); in relateToOperator()
DParseHelper.cpp991 if (symbol && symbol->getAsFunction() && builtIn) in handleFunctionDeclarator()
993 const TFunction* prevDec = symbol ? symbol->getAsFunction() : 0; in handleFunctionDeclarator()
1017 …symbol->getAsFunction()->setPrototyped(); // need a writable one, but like having prevDec as a co… in handleFunctionDeclarator()
1043 TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr; in handleFunctionDefinition()
6290 return symbol->getAsFunction(); in findFunction()
6327 return symbol->getAsFunction(); in findFunctionExact()
6336 return symbol->getAsFunction(); in findFunction120()
6444 return symbol->getAsFunction(); in findFunction400()
6520 return symbol->getAsFunction(); in findFunctionExplicitTypes()
8294 if (symbol->getAsFunction()) { in addQualifierToExisting()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DSymbolTable.h100 virtual TFunction* getAsFunction() { return 0; } in getAsFunction() function
101 virtual const TFunction* getAsFunction() const { return 0; } in getAsFunction() function
260 virtual TFunction* getAsFunction() override { return this; } in getAsFunction() function
261 virtual const TFunction* getAsFunction() const override { return this; } in getAsFunction() function
436 if (symbol.getAsFunction()) { in insert()
492 list.push_back(it->second->getAsFunction()); in findFunctionNameList()
686 …if (! separateNameSpaces && ! symbol.getAsFunction() && table[currentLevel()]->hasFunctionName(sym… in insert()
Dlimits.cpp116 const TType* type = (*function->getAsFunction())[i].type; in visitAggregate()
DSymbolTable.cpp299 TFunction* function = (*candidate).second->getAsFunction(); in relateToOperator()
DParseHelper.cpp1093 if (symbol && symbol->getAsFunction() && builtIn) in handleFunctionDeclarator()
1108 const TFunction* prevDec = symbol ? symbol->getAsFunction() : 0; in handleFunctionDeclarator()
1138 …symbol->getAsFunction()->setPrototyped(); // need a writable one, but like having prevDec as a co… in handleFunctionDeclarator()
1164 TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr; in handleFunctionDefinition()
6581 return symbol->getAsFunction(); in findFunction()
6621 return symbol->getAsFunction(); in findFunctionExact()
6630 return symbol->getAsFunction(); in findFunction120()
6738 return symbol->getAsFunction(); in findFunction400()
6814 return symbol->getAsFunction(); in findFunctionExplicitTypes()
8762 if (symbol->getAsFunction()) { in addQualifierToExisting()
/external/llvm-project/clang/lib/Analysis/
DProgramPoint.cpp104 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString() in printJson()
113 << PC.getDecl()->getAsFunction()->getQualifiedNameAsString() in printJson()
/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()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DCastValueChecker.cpp262 const FunctionDecl *FD = Call.getDecl()->getAsFunction(); in addInstanceOfTransition()
491 const FunctionDecl *FD = Call.getDecl()->getAsFunction(); in evalCall()
DGenericTaintChecker.cpp116 const FunctionDecl *FDecl = Call.getDecl()->getAsFunction(); in create()
796 const FunctionDecl *FDecl = Call.getDecl()->getAsFunction(); in getPrintfFormatArgumentNum()
884 const auto *FDecl = Call.getDecl()->getAsFunction(); in checkTaintedBufferSize()
/external/llvm-project/clang/lib/Parse/
DParseCXXInlineMethods.cpp113 !(FnD && FnD->getAsFunction() && in ParseCXXInlineMethodDef()
114 FnD->getAsFunction()->getReturnType()->getContainedAutoType()) && in ParseCXXInlineMethodDef()
124 FunctionDecl *FD = FnD->getAsFunction(); in ParseCXXInlineMethodDef()
165 FunctionDecl *FD = FnD->getAsFunction(); in ParseCXXInlineMethodDef()
/external/llvm-project/clang/include/clang/Analysis/
DCallGraph.h198 return getDecl()->getAsFunction()->getDefinition(); in getDefinition()
/external/llvm-project/clang/lib/Sema/
DSemaCUDA.cpp607 FunctionDecl *OldD = D->getAsFunction(); in maybeAddCUDAHostDeviceAttrs()
815 FunctionDecl *OldFD = OldND->getAsFunction(); in checkCUDATargetOverload()
DSemaAccess.cpp1078 << isa<CXXDestructorDecl>(D->getAsFunction()); in TryDiagnoseProtectedAccess()
1773 assert(isa<CXXMethodDecl>(target->getAsFunction())); in CheckFriendAccess()
1782 CXXMethodDecl *method = cast<CXXMethodDecl>(target->getAsFunction()); in CheckFriendAccess()
DSemaAvailability.cpp905 if (auto *FD = D->getAsFunction()) { in DiagnoseUnguardedAvailabilityViolations()
/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/llvm-project/clang-tools-extra/clangd/
DHover.cpp228 return D->getAsFunction(); in getUnderlyingFunction()
248 if (const auto *FD = D->getAsFunction()) in getDeclForComment()
521 } else if (const FunctionDecl *FD = D->getAsFunction()) { in getHoverContents()
DDumpAST.cpp214 if (!ND || llvm::isa_and_nonnull<CXXConstructorDecl>(ND->getAsFunction()) || in getDetail()
/external/llvm-project/clang/include/clang/AST/
DDeclBase.h1062 FunctionDecl *getAsFunction() LLVM_READONLY;
1064 const FunctionDecl *getAsFunction() const { in getAsFunction() function
1065 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()
/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/llvm-project/clang/tools/libclang/
DCIndex.cpp8478 D ? dyn_cast_or_null<CXXConstructorDecl>(D->getAsFunction()) : nullptr; in clang_CXXConstructor_isDefaultConstructor()
8488 D ? dyn_cast_or_null<CXXConstructorDecl>(D->getAsFunction()) : nullptr; in clang_CXXConstructor_isCopyConstructor()
8498 D ? dyn_cast_or_null<CXXConstructorDecl>(D->getAsFunction()) : nullptr; in clang_CXXConstructor_isMoveConstructor()
8508 D ? dyn_cast_or_null<CXXConstructorDecl>(D->getAsFunction()) : nullptr; in clang_CXXConstructor_isConvertingConstructor()
8529 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isPureVirtual()
8539 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isConst()
8549 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isDefaulted()
8559 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isStatic()
8569 D ? dyn_cast_or_null<CXXMethodDecl>(D->getAsFunction()) : nullptr; in clang_CXXMethod_isVirtual()

123