reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang/Parse/Parser.h
  760   static ParsedType getTypeAnnotation(const Token &Tok) {
  761     return ParsedType::getFromOpaquePtr(Tok.getAnnotationValue());
  765   static void setTypeAnnotation(Token &Tok, ParsedType T) {
 1539          ParsedType baseType,
 1541          SmallVectorImpl<ParsedType> &typeArgs,
 1553          ParsedType baseType,
 1555          SmallVectorImpl<ParsedType> &typeArgs,
 1570                                                     ParsedType type,
 1620   ParsedType ParseObjCTypeName(ObjCDeclSpec &DS, DeclaratorContext Ctx,
 1702                                                      ParsedType &CastTy,
 1731                                         ParsedType &CastTy,
 1735       ParenParseOption &ExprType, ParsedType &CastTy,
 1737   ExprResult ParseCompoundLiteralExpression(ParsedType Ty,
 1757   void CheckForTemplateAndDigraph(Token &Next, ParsedType ObjectTypePtr,
 1761   bool ParseOptionalCXXScopeSpecifier(CXXScopeSpec &SS, ParsedType ObjectType,
 1814                                             ParsedType ObjectType);
 1827                     SmallVectorImpl<ParsedType> &DynamicExceptions,
 1835                                   SmallVectorImpl<ParsedType> &Exceptions,
 1918                                             ParsedType ReceiverType,
 1922       ParsedType ReceiverType, Expr *ReceiverExpr);
 1934   typedef SmallVector<ParsedType, 12> TypeVector;
 2839                                     ParsedType ObjectType,
 2843                                   ParsedType ObjectType,
 2985                           ParsedType ObjectType,
tools/clang/include/clang/Sema/DeclSpec.h
  482   ParsedType getRepAsType() const {
  656                        unsigned &DiagID, ParsedType Rep,
  663                        unsigned &DiagID, ParsedType Rep,
  692   void UpdateTypeRep(ParsedType Rep) {
 1061                                ParsedType Ty,
 1092   void setConstructorName(ParsedType ClassType,
 1116                          ParsedType ClassType,
 1255     ParsedType Ty;
 1490     ParsedType getTrailingReturnType() const { return TrailingReturnType; }
 1612                                      ParsedType *Exceptions,
 2568     ParsedType InitCaptureType;
 2574                   ParsedType InitCaptureType,
 2596                   ParsedType InitCaptureType,
tools/clang/include/clang/Sema/Ownership.h
  265   using TypeResult = ActionResult<ParsedType>;
  276   using MultiTypeArg = MutableArrayRef<ParsedType>;
tools/clang/include/clang/Sema/ParsedAttr.h
   81   ParsedType MatchingCType;
  121           detail::TypeTagForDatatypeData, ParsedType, detail::PropertyData> {
  132   size_t numTrailingObjects(OverloadToken<ParsedType>) const {
  255              IdentifierLoc *ArgKind, ParsedType matchingCType,
  266     new (&ExtraData.MatchingCType) ParsedType(matchingCType);
  274              ParsedType typeArg, Syntax syntaxUsed)
  281     new (&getTypeBuffer()) ParsedType(typeArg);
  310   ParsedType &getTypeBuffer() { return *getTrailingObjects<ParsedType>(); }
  310   ParsedType &getTypeBuffer() { return *getTrailingObjects<ParsedType>(); }
  311   const ParsedType &getTypeBuffer() const {
  312     return *getTrailingObjects<ParsedType>();
  437   const ParsedType &getMatchingCType() const {
  455   const ParsedType &getTypeArg() const {
  551                                      detail::TypeTagForDatatypeData, ParsedType,
  555                                      detail::TypeTagForDatatypeData, ParsedType,
  559                                      detail::TypeTagForDatatypeData, ParsedType,
  654                                      detail::TypeTagForDatatypeData, ParsedType,
  659                                      detail::TypeTagForDatatypeData, ParsedType,
  686                                      detail::TypeTagForDatatypeData, ParsedType,
  696                            ParsedType matchingCType, bool layoutCompatible,
  707                                   SourceLocation scopeLoc, ParsedType typeArg,
  711                                      detail::TypeTagForDatatypeData, ParsedType,
  893                            ParsedType matchingCType, bool layoutCompatible,
  905                              ParsedType typeArg,
tools/clang/include/clang/Sema/ParsedTemplate.h
   76     ParsedType getAsType() const {
   78       return ParsedType::getFromOpaquePtr(Arg);
tools/clang/include/clang/Sema/Sema.h
 1590   ParsedType CreateParsedType(QualType T, TypeSourceInfo *TInfo);
 1593   static QualType GetTypeFromParser(ParsedType Ty,
 1630   ParsedType ActOnObjCInstanceType(SourceLocation Loc);
 1852   ParsedType getTypeName(const IdentifierInfo &II, SourceLocation NameLoc,
 1855                          ParsedType ObjectType = nullptr,
 1866                                ParsedType &SuggestedType,
 1873   ParsedType ActOnMSVCUnknownTypeName(const IdentifierInfo &II,
 1920       ParsedType Type;
 1926     NameClassification(ParsedType Type) : Kind(NC_Type), Type(Type) {}
 1989     ParsedType getType() const {
 4635                                        ArrayRef<ParsedType> ArgTypes,
 4802                            Declarator &D, ParsedType &Ty,
 4818                                   ParsedType Ty,
 4888                                   ParsedType ParsedArgTy,
 4898   ExprResult ActOnVAArg(SourceLocation BuiltinLoc, Expr *E, ParsedType Ty,
 4977   ExprResult ActOnConvertVectorExpr(Expr *E, ParsedType ParsedDestTy,
 4984   ExprResult ActOnAsTypeExpr(Expr *E, ParsedType ParsedDestTy,
 5015                                          ParsedType TemplateTypeTy,
 5275                                    ArrayRef<ParsedType> DynamicExceptions,
 5291          ArrayRef<ParsedType> DynamicExceptions,
 5431   ParsedType getInheritingConstructorName(CXXScopeSpec &SS,
 5435   ParsedType getConstructorName(IdentifierInfo &II, SourceLocation NameLoc,
 5438   ParsedType getDestructorName(SourceLocation TildeLoc,
 5441                                ParsedType ObjectType,
 5444   ParsedType getDestructorTypeForDecltype(const DeclSpec &DS,
 5445                                           ParsedType ObjectType);
 5602   ExprResult ActOnCXXTypeConstructExpr(ParsedType TypeRep,
 5696                             ArrayRef<ParsedType> Args,
 5706                                  ParsedType LhsTy,
 5732                                           ParsedType &ObjectType,
 5819     ParsedType ObjectType;
 5832              SourceLocation ColonColonLoc, ParsedType ObjectType = ParsedType())
 5839       : ObjectType(ParsedType::make(ObjectType)), Identifier(II),
 6017   ParsedType actOnLambdaInitCaptureInitialization(
 6020     return ParsedType::make(buildLambdaInitCaptureInitialization(
 6184                                        ParsedType Ty,
 6242                                     ParsedType TemplateTypeTy,
 6254                                     ParsedType TemplateTypeTy,
 6264                                     ParsedType TemplateTypeTy,
 6451                                 ParsedType basetype,
 6657                                   ParsedType ObjectType,
 6707                            ParsedType DefaultArg);
 6842       const UnqualifiedId &Name, ParsedType ObjectType, bool EnteringContext,
 7318   TypeResult ActOnPackExpansion(ParsedType Type, SourceLocation EllipsisLoc);
 8522                                 ParsedType typeBound);
 8533       ArrayRef<ParsedType> SuperTypeArgs, SourceRange SuperTypeArgsRange,
 8545                                        ArrayRef<ParsedType> SuperTypeArgs,
 8620          ParsedType baseType,
 8626          SmallVectorImpl<ParsedType> &typeArgs,
 8645                ParsedType BaseType,
 8647                ArrayRef<ParsedType> TypeArgs,
 8730     ParsedType Type;
 8741       tok::TokenKind MethodType, ObjCDeclSpec &ReturnQT, ParsedType ReturnType,
 8793                                      ParsedType &ReceiverType);
 8821                                ParsedType Receiver,
 8864                                   ParsedType Type,
11135                                               ParsedType TemplateTypeTy,
11170   void CodeCompleteObjCClassMessage(Scope *S, ParsedType Receiver,
11200                                   ParsedType ReturnType);
11204                                           ParsedType ReturnType,
tools/clang/lib/Parse/ParseCXXInlineMethods.cpp
  423     SmallVector<ParsedType, 4> DynamicExceptions;
tools/clang/lib/Parse/ParseDecl.cpp
  364   ParsedType TheParsedType;
 2611     if (ParsedType T = Actions.ActOnMSVCUnknownTypeName(
 2742   ParsedType T;
 2823     ParsedType Ty = ParseTypeName().get();
 3191           ParsedType T = getTypeAnnotation(Tok);
 3217       ParsedType TypeRep =
 3263         ParsedType T = getTypeAnnotation(Tok);
 3351         ParsedType TypeRep = Actions.ActOnObjCInstanceType(Loc);
 3370       ParsedType TypeRep = Actions.getTypeName(
 6252   SmallVector<ParsedType, 2> DynamicExceptions;
 6955   ParsedType CastTy;
tools/clang/lib/Parse/ParseDeclCXX.cpp
  630     ParsedType Type =
 1148       ParsedType Type = getTypeAnnotation(Tok);
 1206     ParsedType Type = getTypeAnnotation(Tok);
 1213   ParsedType Type = Actions.getTypeName(
 3497   ParsedType TemplateTypeTy;
 3598                     SmallVectorImpl<ParsedType> &DynamicExceptions,
 3727                                   SmallVectorImpl<ParsedType> &Exceptions,
tools/clang/lib/Parse/ParseExpr.cpp
  190                                                     ParsedType ReceiverType,
  790     ParsedType CastTy;
 1025         if (ParsedType Typ = Actions.getTypeName(II, ILoc, getCurScope()))
 1249       ParsedType Type = getTypeAnnotation(Tok);
 1747       ParsedType ObjectType;
 1892                                            ParsedType &CastTy,
 2043   ParsedType CastTy;
 2376                              bool isTypeCast, ParsedType &CastTy,
 2691 Parser::ParseCompoundLiteralExpression(ParsedType Ty,
 2775     ParsedType Ty;
tools/clang/lib/Parse/ParseExprCXX.cpp
   79 void Parser::CheckForTemplateAndDigraph(Token &Next, ParsedType ObjectType,
  147     CXXScopeSpec &SS, ParsedType ObjectType, bool EnteringContext,
 1113     ParsedType InitCaptureType;
 1338     SmallVector<ParsedType, 2> DynamicExceptions;
 1682                                  ParsedType ObjectType) {
 1827   ParsedType TypeRep = Actions.ActOnTypeName(getCurScope(), DeclaratorInfo).get();
 2249                                           ParsedType ObjectType,
 2441                                         ParsedType ObjectType,
 2675                                 ParsedType ObjectType,
 2714       ParsedType Ty = Actions.getConstructorName(*Id, IdLoc, getCurScope(), SS,
 2764         ParsedType Ty = Actions.getConstructorName(
 2838       if (ParsedType Type =
 2896     ParsedType Ty = Actions.getDestructorName(TildeLoc, *ClassName,
 3025         ParsedType TypeRep =
 3290   SmallVector<ParsedType, 2> Args;
 3404                                          ParsedType &CastTy,
tools/clang/lib/Parse/ParseInit.cpp
  263                                    ParsedType::getFromOpaquePtr(TypeOrExpr),
  275       ParsedType ReceiverType;
tools/clang/lib/Parse/ParseObjc.cpp
  301   SmallVector<ParsedType, 4> typeArgs;
 1233 ParsedType Parser::ParseObjCTypeName(ObjCDeclSpec &DS,
 1252   ParsedType Ty;
 1341   ParsedType ReturnType;
 1589        ParsedType baseType,
 1591        SmallVectorImpl<ParsedType> &typeArgs,
 1681     ParsedType typeArg
 1746   ParsedType T;
 1768        ParsedType baseType,
 1770        SmallVectorImpl<ParsedType> &typeArgs,
 1822              ParsedType type,
 1827   SmallVector<ParsedType, 4> typeArgs;
 2978   ParsedType Type;
 3047                               ParsedType::getFromOpaquePtr(TypeOrExpr),
 3054     ParsedType ReceiverType;
 3147                                        ParsedType ReceiverType,
tools/clang/lib/Parse/ParseTemplate.cpp
  656   ParsedType DefaultArg;
tools/clang/lib/Parse/Parser.cpp
 1645     ParsedType Ty = Classification.getType();
 1883     if (ParsedType Ty = Actions.getTypeName(
tools/clang/lib/Sema/DeclSpec.cpp
  164                                              ParsedType *Exceptions,
  705                                ParsedType Rep,
  714                                ParsedType Rep,
tools/clang/lib/Sema/ParsedAttr.cpp
   44                             detail::TypeTagForDatatypeData, ParsedType,
   47                           detail::TypeTagForDatatypeData, ParsedType,
tools/clang/lib/Sema/SemaCodeComplete.cpp
 4144                                        ParsedType Receiver,
 4206     ParsedType T = DS.getRepAsType();
 5240     Scope *S, Decl *ConstructorDecl, CXXScopeSpec SS, ParsedType TemplateTypeTy,
 6686   ParsedType Receiver;
 6688     Receiver = ParsedType::make(Context.getObjCInterfaceType(CDecl));
 6729                                        ParsedType Receiver,
 6803 void Sema::CodeCompleteObjCClassMessage(Scope *S, ParsedType Receiver,
 6867             S, ParsedType::make(Context.getObjCInterfaceType(IFace)), SelIdents,
 8154                                       ParsedType ReturnTy) {
 8327     Scope *S, bool IsInstanceMethod, bool AtParameterName, ParsedType ReturnTy,
tools/clang/lib/Sema/SemaDecl.cpp
  233 static ParsedType recoverFromTypeInKnownDependentBase(Sema &S,
  281 ParsedType Sema::getTypeName(const IdentifierInfo &II, SourceLocation NameLoc,
  284                              ParsedType ObjectTypePtr,
  325         return ParsedType::make(T);
  364       if (ParsedType TypeInBase =
  397         ParsedType Ty = getTypeName(*NewII, NameLoc, S, NewSSPtr,
  520   return ParsedType::make(T);
  555 ParsedType Sema::ActOnMSVCUnknownTypeName(const IdentifierInfo &II,
  661                                    ParsedType &SuggestedType,
  834 static ParsedType buildNestedType(Sema &S, CXXScopeSpec &SS,
  873     if (ParsedType TypeInBase =
 1128     return ParsedType::make(T);
 1150     return ParsedType::make(T);
 1171     return ParsedType::make(T);
 5341     ParsedType LocType = S.CreateParsedType(TSI->getType(), TSI);
tools/clang/lib/Sema/SemaDeclAttr.cpp
 1375   ParsedType PT;
tools/clang/lib/Sema/SemaDeclCXX.cpp
 2551                          ParsedType basetype, SourceLocation BaseLoc,
 3972                           ParsedType TemplateTypeTy,
 3988                           ParsedType TemplateTypeTy,
 4030                                              ParsedType TemplateTypeTy,
 4050                           ParsedType TemplateTypeTy,
 9218     ParsedType TrailingReturnType = Chunk.Fun.getTrailingReturnType();
16058     ArrayRef<ParsedType> DynamicExceptions,
16108              ArrayRef<ParsedType> DynamicExceptions,
tools/clang/lib/Sema/SemaDeclObjC.cpp
  548                                 ArrayRef<ParsedType> SuperTypeArgs,
  672                                     ParsedType parsedTypeBound) {
  979     ArrayRef<ParsedType> SuperTypeArgs, SourceRange SuperTypeArgsRange,
 1407        ParsedType baseType,
 1413        SmallVectorImpl<ParsedType> &typeArgs,
 1576     ParsedType parsedType = CreateParsedType(type, parsedTSInfo);
 4541     tok::TokenKind MethodType, ObjCDeclSpec &ReturnQT, ParsedType ReturnType,
tools/clang/lib/Sema/SemaExpr.cpp
 4242     (void) GetTypeFromParser(ParsedType::getFromOpaquePtr(TyOrEx), &TInfo);
tools/clang/lib/Sema/SemaExprCXX.cpp
   48 ParsedType Sema::getInheritingConstructorName(CXXScopeSpec &SS,
   82 ParsedType Sema::getConstructorName(IdentifierInfo &II,
   95     return ParsedType::make(T);
  129   return ParsedType::make(T);
  132 ParsedType Sema::getDestructorName(SourceLocation TildeLoc,
  136                                    ParsedType ObjectTypePtr,
  353     return ParsedType::make(T);
  379 ParsedType Sema::getDestructorTypeForDecltype(const DeclSpec &DS,
  380                                               ParsedType ObjectType) {
  403   return ParsedType::make(T);
  574     QualType T = GetTypeFromParser(ParsedType::getFromOpaquePtr(TyOrExpr),
  689     QualType T = GetTypeFromParser(ParsedType::getFromOpaquePtr(TyOrExpr),
 6727     ObjectType = ParsedType::make(BaseType);
 6821     ObjectType = ParsedType::make(BaseType);
 6841   ObjectType = ParsedType::make(BaseType);
 7036   ParsedType ObjectTypePtrForLookup;
 7039       ObjectTypePtrForLookup = ParsedType::make(ObjectType);
 7041       ObjectTypePtrForLookup = ParsedType::make(Context.DependentTy);
 7050     ParsedType T = getTypeName(*SecondTypeName.Identifier,
 7111       ParsedType T = getTypeName(*FirstTypeName.Identifier,
tools/clang/lib/Sema/SemaExprMember.cpp
 1015         ParsedType ObjectType;
tools/clang/lib/Sema/SemaExprObjC.cpp
 1109                                            ParsedType ty,
 2129                                                ParsedType &ReceiverType) {
 2592                                    ParsedType Receiver,
 4548                                       ParsedType Type,
tools/clang/lib/Sema/SemaTemplate.cpp
  132                                       ParsedType ObjectTypePtr,
  985                                ParsedType DefaultArg) {
 4379                                                   ParsedType ObjectType,
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
 3040         ParsedType::make(SemaRef.SubstType(
 3141         ParsedType::make(SemaRef.SubstType(D->getType(), TemplateArgs,
tools/clang/lib/Sema/SemaTemplateVariadic.cpp
  568 TypeResult Sema::ActOnPackExpansion(ParsedType Type,
tools/clang/lib/Sema/SemaType.cpp
 1139              ParsedType BaseType,
 1141              ArrayRef<ParsedType> TypeArgs,
 2661 QualType Sema::GetTypeFromParser(ParsedType Ty, TypeSourceInfo **TInfo) {
 4895         SmallVector<ParsedType, 2> DynamicExceptions;
 5831 ParsedType Sema::CreateParsedType(QualType T, TypeSourceInfo *TInfo) {
 5840   return ParsedType::make(QualType(LocT, 0));
 5879 ParsedType Sema::ActOnObjCInstanceType(SourceLocation Loc) {
tools/clang/lib/Sema/TreeTransform.h
10776   ParsedType ObjectTypePtr;
10812     ParsedType T = SemaRef.getDestructorName(E->getTildeLoc(),
11791     ParsedType ObjectTy;
13160                                        ParsedType::make(ObjectType),
13181                                        ParsedType::make(ObjectType),