Home
last modified time | relevance | path

Searched refs:ParsedType (Results 1 – 25 of 41) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DParsedAttr.h87 ParsedType MatchingCType;
129 detail::TypeTagForDatatypeData, ParsedType, detail::PropertyData> {
140 size_t numTrailingObjects(OverloadToken<ParsedType>) const { in numTrailingObjects() argument
273 IdentifierLoc *ArgKind, ParsedType matchingCType, in ParsedAttr()
283 new (&ExtraData.MatchingCType) ParsedType(matchingCType); in ParsedAttr()
291 ParsedType typeArg, Form formUsed, SourceLocation ellipsisLoc) in ParsedAttr()
298 new (&getTypeBuffer()) ParsedType(typeArg); in ParsedAttr()
325 ParsedType &getTypeBuffer() { return *getTrailingObjects<ParsedType>(); } in getTypeBuffer()
326 const ParsedType &getTypeBuffer() const { in getTypeBuffer()
327 return *getTrailingObjects<ParsedType>(); in getTypeBuffer()
[all …]
H A DSemaObjC.h89 Scope *S, SourceLocation Loc, ParsedType BaseType,
90 SourceLocation TypeArgsLAngleLoc, ArrayRef<ParsedType> TypeArgs,
113 ParsedType ActOnObjCInstanceType(SourceLocation Loc);
253 SourceLocation colonLoc, ParsedType typeBound);
264 ArrayRef<ParsedType> SuperTypeArgs, SourceRange SuperTypeArgsRange,
273 ArrayRef<ParsedType> SuperTypeArgs, SourceRange SuperTypeArgsRange);
339 Scope *S, ParsedType baseType, SourceLocation lAngleLoc,
342 SourceLocation &typeArgsLAngleLoc, SmallVectorImpl<ParsedType> &typeArgs,
359 ParsedType Type;
370 tok::TokenKind MethodType, ObjCDeclSpec &ReturnQT, ParsedType ReturnType,
[all …]
H A DSemaCodeCompletion.h141 Decl *ConstructorDecl, CXXScopeSpec SS, ParsedType TemplateTypeTy,
183 void CodeCompleteObjCClassMessage(Scope *S, ParsedType Receiver,
211 ParsedType ReturnType);
214 ParsedType ReturnType, ArrayRef<const IdentifierInfo *> SelIdents);
H A DDeclSpec.h544 ParsedType getRepAsType() const { in getRepAsType()
733 unsigned &DiagID, ParsedType Rep,
747 unsigned &DiagID, ParsedType Rep,
785 void UpdateTypeRep(ParsedType Rep) { in UpdateTypeRep()
1141 ParsedType Ty, in setConversionFunctionId()
1172 void setConstructorName(ParsedType ClassType, in setConstructorName()
1196 ParsedType ClassType, in setDestructorName()
1350 ParsedType Ty;
1586 ParsedType getTrailingReturnType() const { in getTrailingReturnType()
1722 ParsedType *Exceptions,
[all …]
H A DParsedTemplate.h75 ParsedType getAsType() const { in getAsType()
77 return ParsedType::getFromOpaquePtr(Arg); in getAsType()
H A DSemaSYCL.h62 ParsedType ParsedTy);
H A DSema.h2813 ParsedType ObjectType;
2827 ParsedType ObjectType = ParsedType())
2833 : ObjectType(ParsedType::make(ObjectType)), Identifier(II), in NestedNameSpecInfo()
3129 ParsedType getTypeName(const IdentifierInfo &II, SourceLocation NameLoc,
3132 ParsedType ObjectType = nullptr,
3164 ParsedType &SuggestedType,
3171 ParsedType ActOnMSVCUnknownTypeName(const IdentifierInfo &II,
3222 ParsedType Type;
3228 NameClassification(ParsedType Type) : Kind(NC_Type), Type(Type) {} in NameClassification()
3295 ParsedType getType() const { in getType()
[all …]
H A DSemaOpenMP.h259 TypeResult ParsedType);
284 TypeResult ParsedType);
1350 ParsedType Type;
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h880 return ParsedType::getFromOpaquePtr(Tok.getAnnotationValue()); in getTypeAnnotation()
1739 ParsedType baseType,
1741 SmallVectorImpl<ParsedType> &typeArgs,
1753 ParsedType baseType,
1755 SmallVectorImpl<ParsedType> &typeArgs,
1770 ParsedType type,
1820 ParsedType ParseObjCTypeName(ObjCDeclSpec &DS, DeclaratorContext Ctx,
1925 ParsedType &CastTy,
1950 ParsedType &CastTy,
1954 ParenParseOption &ExprType, ParsedType &CastTy,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DMarkupFilter.cpp251 std::optional<PCType> ParsedType = parsePCType(Node.Fields[1]); in tryPC() local
252 if (!ParsedType) in tryPC()
254 Type = *ParsedType; in tryPC()
307 std::optional<PCType> ParsedType = parsePCType(Node.Fields[2]); in tryBackTrace() local
308 if (!ParsedType) in tryBackTrace()
310 Type = *ParsedType; in tryBackTrace()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaAPINotes.cpp369 auto ParsedType = S.ParseTypeFromStringCallback( in ProcessAPINotes() local
371 if (ParsedType.isUsable()) { in ProcessAPINotes()
372 QualType Type = Sema::GetTypeFromParser(ParsedType.get()); in ProcessAPINotes()
499 auto ParsedType = S.ParseTypeFromStringCallback( in ProcessAPINotes() local
501 if (ParsedType.isUsable()) { in ProcessAPINotes()
502 QualType ResultType = Sema::GetTypeFromParser(ParsedType.get()); in ProcessAPINotes()
H A DParsedAttr.cpp44 detail::TypeTagForDatatypeData, ParsedType, in allocated_size()
47 detail::TypeTagForDatatypeData, ParsedType, in allocated_size()
H A DSemaExprCXX.cpp58 ParsedType Sema::getInheritingConstructorName(CXXScopeSpec &SS, in getInheritingConstructorName()
92 ParsedType Sema::getConstructorName(const IdentifierInfo &II, in getConstructorName()
105 return ParsedType::make(T); in getConstructorName()
109 return ParsedType(); in getConstructorName()
132 return ParsedType(); in getConstructorName()
139 return ParsedType::make(T); in getConstructorName()
142 ParsedType Sema::getDestructorName(const IdentifierInfo &II, in getDestructorName()
144 CXXScopeSpec &SS, ParsedType ObjectTypePtr, in getDestructorName()
190 auto CheckLookupResult = [&](LookupResult &Found) -> ParsedType { in getDestructorName()
259 auto LookupInObjectType = [&]() -> ParsedType { in getDestructorName()
[all …]
H A DSemaSYCL.cpp150 ParsedType ParsedTy) { in ActOnUniqueStableNameExpr()
H A DDeclSpec.cpp174 ParsedType *Exceptions, in getFunction()
757 ParsedType Rep, in SetTypeSpecType()
766 ParsedType Rep, in SetTypeSpecType()
788 TypeRep = ParsedType::make(LIT->getPattern()); in SetTypeSpecType()
H A DSemaObjC.cpp378 Scope *S, SourceLocation Loc, ParsedType BaseType, in actOnObjCTypeArgsAndProtocolQualifiers()
379 SourceLocation TypeArgsLAngleLoc, ArrayRef<ParsedType> TypeArgs, in actOnObjCTypeArgsAndProtocolQualifiers()
744 ParsedType SemaObjC::ActOnObjCInstanceType(SourceLocation Loc) { in ActOnObjCInstanceType()
1567 ParsedType PT; in handleIBOutletCollection()
H A DSemaDeclObjC.cpp557 ArrayRef<ParsedType> SuperTypeArgs, SourceRange SuperTypeArgsRange) { in ActOnSuperClassOfClassInterface()
669 SourceLocation colonLoc, ParsedType parsedTypeBound) { in actOnObjCTypeParam()
978 ArrayRef<ParsedType> SuperTypeArgs, SourceRange SuperTypeArgsRange, in ActOnStartClassInterface()
1427 Scope *S, ParsedType baseType, SourceLocation lAngleLoc, in actOnObjCTypeArgsOrProtocolQualifiers()
1430 SourceLocation &typeArgsLAngleLoc, SmallVectorImpl<ParsedType> &typeArgs, in actOnObjCTypeArgsOrProtocolQualifiers()
1593 ParsedType parsedType = SemaRef.CreateParsedType(type, parsedTSInfo); in actOnObjCTypeArgsOrProtocolQualifiers()
4730 tok::TokenKind MethodType, ObjCDeclSpec &ReturnQT, ParsedType ReturnType, in ActOnMethodDeclaration()
H A DSemaCodeComplete.cpp4507 AddClassMessageCompletions(Sema &SemaRef, Scope *S, ParsedType Receiver,
4569 ParsedType T = DS.getRepAsType(); in CodeCompleteDeclSpec()
6477 Decl *ConstructorDecl, CXXScopeSpec SS, ParsedType TemplateTypeTy, in ProduceCtorInitMemberSignatureHelp()
8150 ParsedType Receiver; in CodeCompleteObjCSuperMessage()
8152 Receiver = ParsedType::make(getASTContext().getObjCInterfaceType(CDecl)); in CodeCompleteObjCSuperMessage()
8193 AddClassMessageCompletions(Sema &SemaRef, Scope *S, ParsedType Receiver, in AddClassMessageCompletions()
8269 Scope *S, ParsedType Receiver, ArrayRef<const IdentifierInfo *> SelIdents, in CodeCompleteObjCClassMessage()
8332 S, ParsedType::make(Context.getObjCInterfaceType(IFace)), SelIdents, in CodeCompleteObjCInstanceMessage()
9652 Scope *S, std::optional<bool> IsInstanceMethod, ParsedType ReturnTy) { in CodeCompleteObjCMethodDecl()
9830 Scope *S, bool IsInstanceMethod, bool AtParameterName, ParsedType ReturnTy, in CodeCompleteObjCMethodDeclSelector()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExprCXX.cpp87 void Parser::CheckForTemplateAndDigraph(Token &Next, ParsedType ObjectType, in CheckForTemplateAndDigraph()
160 CXXScopeSpec &SS, ParsedType ObjectType, bool ObjectHadErrors, in ParseOptionalCXXScopeSpecifier()
257 AnnotateExistingIndexedTypeNamePack(ParsedType::make(Type), Start, in ParseOptionalCXXScopeSpecifier()
1206 ParsedType InitCaptureType; in ParseLambdaIntroducer()
1532 SmallVector<ParsedType, 2> DynamicExceptions; in ParseLambdaExpressionAfterIntroducer()
1859 ParsedType ObjectType) { in ParseCXXPseudoDestructor()
2016 ParsedType TypeRep = Actions.ActOnTypeName(DeclaratorInfo).get(); in ParseCXXTypeConstructExpression()
2534 CXXScopeSpec &SS, ParsedType ObjectType, bool ObjectHadErrors, in ParseUnqualifiedIdTemplateId()
2729 ParsedType ObjectType, in ParseUnqualifiedIdOperator()
2966 bool Parser::ParseUnqualifiedId(CXXScopeSpec &SS, ParsedType ObjectType, in ParseUnqualifiedId()
[all …]
H A DParseObjc.cpp326 SmallVector<ParsedType, 4> typeArgs; in ParseObjCAtInterfaceDeclaration()
1299 ParsedType Parser::ParseObjCTypeName(ObjCDeclSpec &DS, in ParseObjCTypeName()
1318 ParsedType Ty; in ParseObjCTypeName()
1408 ParsedType ReturnType; in ParseObjCMethodDecl()
1650 ParsedType baseType, in parseObjCTypeArgsOrProtocolQualifiers()
1652 SmallVectorImpl<ParsedType> &typeArgs, in parseObjCTypeArgsOrProtocolQualifiers()
1736 ParsedType typeArg in parseObjCTypeArgsOrProtocolQualifiers()
1802 ParsedType T; in parseObjCTypeArgsOrProtocolQualifiers()
1824 ParsedType baseType, in parseObjCTypeArgsAndProtocolQualifiers()
1826 SmallVectorImpl<ParsedType> &typeArgs, in parseObjCTypeArgsAndProtocolQualifiers()
[all …]
H A DParseInit.cpp280 ParsedType::getFromOpaquePtr(TypeOrExpr), in ParseInitializerWithPotentialDesignator()
292 ParsedType ReceiverType; in ParseInitializerWithPotentialDesignator()
H A DParseExpr.cpp213 ParsedType ReceiverType, in ParseAssignmentExprWithObjCMessageExprStart()
1091 ParsedType CastTy; in ParseCastExpression()
1296 if (ParsedType Typ = Actions.getTypeName(II, ILoc, getCurScope())) in ParseCastExpression()
2263 ParsedType ObjectType; in ParsePostfixExpressionSuffix()
2433 ParsedType &CastTy, in ParseExprAfterUnaryExprOrTypeTrait()
2627 ParsedType CastTy; in ParseUnaryExprOrTypeTraitExpression()
3026 bool isTypeCast, ParsedType &CastTy, in ParseParenExpression()
3376 Parser::ParseCompoundLiteralExpression(ParsedType Ty, in ParseCompoundLiteralExpression()
3495 SmallVector<ParsedType, 12> Types; in ParseGenericSelectionExpression()
3498 ParsedType Ty; in ParseGenericSelectionExpression()
H A DParseDeclCXX.cpp662 ParsedType Type = in ParseUsingDeclarator()
757 ParsedType Type = Actions.getTypeName( in ParseUsingDeclaration()
1288 ParsedType Ty = Actions.getTypeName(*Tok.getIdentifierInfo(), in ParsePackIndexingType()
1318 void Parser::AnnotateExistingIndexedTypeNamePack(ParsedType T, in AnnotateExistingIndexedTypeNamePack()
1513 ParsedType Type = Actions.getTypeName( in ParseBaseTypeSpecifier()
4115 SmallVectorImpl<ParsedType> &DynamicExceptions, in tryParseExceptionSpecification()
4244 SourceRange &SpecificationRange, SmallVectorImpl<ParsedType> &Exceptions, in ParseDynamicExceptionSpecification()
H A DParseDecl.cpp555 ParsedType TheParsedType; in ParseAttributeArgsCommon()
3053 if (ParsedType T = Actions.ActOnMSVCUnknownTypeName( in ParseImplicitInt()
3184 ParsedType T; in ParseImplicitInt()
3288 ParsedType &TypeResult) { in ParseAlignArgument()
3292 ParsedType Ty = ParseTypeName().get(); in ParseAlignArgument()
3331 ParsedType TypeResult; in ParseAlignmentSpecifier()
3881 ParsedType TypeRep = Actions.getTypeName( in ParseDeclarationSpecifiers()
4034 ParsedType TypeRep = Actions.ObjC().ActOnObjCInstanceType(Loc); in ParseDeclarationSpecifiers()
4055 ParsedType TypeRep = Actions.getTypeName( in ParseDeclarationSpecifiers()
7513 SmallVector<ParsedType, 2> DynamicExceptions; in ParseFunctionDeclarator()
[all …]
H A DParseTemplate.cpp641 /*ObjectType=*/ParsedType(), in TryAnnotateTypeConstraint()
740 ParsedType DefaultArg; in ParseTypeParameter()

12