Home
last modified time | relevance | path

Searched refs:ProtoType (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DNoexceptMoveConstructorCheck.cpp41 const auto *ProtoType = Decl->getType()->castAs<FunctionProtoType>(); in check() local
43 if (isUnresolvedExceptionSpec(ProtoType->getExceptionSpecType())) in check()
46 if (!isNoexceptExceptionSpec(ProtoType->getExceptionSpecType())) { in check()
67 if (ProtoType->canThrow() == CT_Can) { in check()
68 Expr *E = ProtoType->getNoexceptExpr(); in check()
/llvm-project-15.0.7/clang/test/Sema/
H A Dattr-musttail.c8 int ProtoType(void);
10 …__attribute__((musttail)) return ProtoType(); // expected-error{{'musttail' attribute requires tha… in TestCallerNotProtoType()
14 return ProtoType(); in TestProtoType()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSSAUpdater.cpp57 ProtoType = Ty; in Initialize()
70 assert(ProtoType && "Need to initialize SSAUpdater"); in AddAvailableValue()
71 assert(ProtoType == V->getType() && in AddAvailableValue()
140 return UndefValue::get(ProtoType); in GetValueInMiddleOfBlock()
158 PHINode *InsertedPHI = PHINode::Create(ProtoType, PredValues.size(), in GetValueInMiddleOfBlock()
263 return UndefValue::get(Updater->ProtoType); in GetUndefVal()
270 PHINode *PHI = PHINode::Create(Updater->ProtoType, NumPreds, in CreateEmptyPHI()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdater.h47 Type *ProtoType = nullptr; variable
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp918 if (const auto *ProtoType = Ty->getAs<FunctionProtoType>()) in VisitCXXNewAllocatorCall() local
919 if (!ProtoType->isNothrow()) in VisitCXXNewAllocatorCall()
989 if (const auto *ProtoType = FD->getType()->getAs<FunctionProtoType>()) in VisitCXXNewExpr() local
990 if (!ProtoType->isNothrow()) in VisitCXXNewExpr()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSemanticHighlighting.cpp604 if (auto *ProtoType = FD->getType()->getAs<FunctionProtoType>()) { in highlightMutableReferenceArguments() local
609 I < std::min(size_t(ProtoType->getNumParams()), Args.size()); ++I) { in highlightMutableReferenceArguments()
610 highlightMutableReferenceArgument(ProtoType->getParamType(I), Args[I]); in highlightMutableReferenceArguments()
/llvm-project-15.0.7/clang/lib/Parse/
H A DParseObjc.cpp2091 Decl *ProtoType = Actions.ActOnStartProtocolInterface( in ParseObjCAtProtocolDeclaration() local
2095 ParseObjCInterfaceDeclList(tok::objc_protocol, ProtoType); in ParseObjCAtProtocolDeclaration()
2096 return Actions.ConvertDeclToDeclGroup(ProtoType); in ParseObjCAtProtocolDeclaration()