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

References

tools/clang/lib/Sema/SemaExpr.cpp
15033           !SemaRef.isUnevaluatedContext())
15034         return SemaRef.Diag(E->getLocation(),
tools/clang/lib/Sema/SemaExprCXX.cpp
 7633       auto &State = SemaRef.getTypoExprState(TE);
 7650       SemaRef.clearDelayedTypo(TE);
 7665       auto &State = SemaRef.getTypoExprState(TE);
 7691     Sema::SFINAETrap Trap(SemaRef);
 7728         auto &SemaTypoExprs = SemaRef.TypoExprs;
 7731           SemaRef.clearDelayedTypo(TE);
 7759     auto SavedTypoExprs = std::move(SemaRef.TypoExprs);
 7760     SemaRef.TypoExprs.clear();
 7793         SemaRef.getTypoExprState(TE).Consumer->saveCurrentPosition();
 7795         TypoCorrection TC = SemaRef.getTypoExprState(TE).Consumer->peekNextCorrection();
 7805             SemaRef.getTypoExprState(TE).Consumer->resetCorrectionStream();
 7811         } while ((Next = SemaRef.getTypoExprState(TE).Consumer->peekNextCorrection()) &&
 7818         SemaRef.getTypoExprState(TE).Consumer->restoreSavedPosition();
 7827     auto &SemaTypoExprs = SemaRef.TypoExprs;
 7835       SemaRef.clearDelayedTypo(TE);
 7838     SemaRef.TypoExprs = std::move(SavedTypoExprs);
 7890     auto &State = SemaRef.getTypoExprState(E);
 7901           State.RecoveryHandler(SemaRef, E, TC) :
 7902           attemptRecovery(SemaRef, *State.Consumer, TC);
tools/clang/lib/Sema/SemaOpenMP.cpp
12706       CapturedExpr = buildCapture(SemaRef, Field, E, /*WithInit=*/false);
tools/clang/lib/Sema/SemaTemplateDeduction.cpp
 4335       QualType Result = SemaRef.Context.getAutoType(
 4348       QualType Result = SemaRef.Context.getDeducedTemplateSpecializationType(
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
  840       SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Pack);
  846             = SemaRef.CurrentInstantiationScope->getPartiallySubstitutedPack()){
  865             = SemaRef.CurrentInstantiationScope->getPartiallySubstitutedPack()){
  879       SemaRef.InstantiateAttrs(TemplateArgs, Old, New);
  884         SemaRef.CurrentInstantiationScope->MakeInstantiatedLocalArgPack(Old);
  886           SemaRef.CurrentInstantiationScope->InstantiatedLocalPackArg(
  909       SemaRef.CurrentInstantiationScope->InstantiatedLocal(Old, New);
  914         SemaRef.PerformDependentDiagnostics(DC, TemplateArgs);
 1004       LocalInstantiationScope Scope(SemaRef, /*CombineWithOuterScope=*/true);
 1077   return SemaRef.FindInstantiatedDecl(Loc, cast<NamedDecl>(D), TemplateArgs);
 1166       if (!SemaRef.isAcceptableTagRedeclaration(TD, Kind, /*isDefinition*/false,
 1168         SemaRef.Diag(TagLocation, diag::err_use_with_wrong_tag)
 1172         SemaRef.Diag(TD->getLocation(), diag::note_previous_use);
 1284       QualType TargetType = SemaRef.SubstType(NTTP->getType(), TemplateArgs,
 1290       return new (SemaRef.Context) SubstNonTypeTemplateParmPackExpr(
 1291           TargetType.getNonLValueExprType(SemaRef.Context),
 1353       type = parm->getExpansionType(SemaRef.ArgumentPackSubstitutionIndex);
 1356       type = SemaRef.SubstType(
 1360       type = SemaRef.SubstType(VD ? arg.getParamTypeForDecl() : arg.getNullPtrType(),
 1365     result = SemaRef.BuildExpressionFromDeclTemplateArgument(arg, type, loc);
 1369     result = SemaRef.BuildExpressionFromIntegralTemplateArgument(arg, loc);
 1378   return new (SemaRef.Context) SubstNonTypeTemplateParmExpr(
 1495   return SemaRef.BuildCXXDefaultArgExpr(E->getUsedLocation(),
 1507   LocalInstantiationScope Scope(SemaRef, /*CombineWithOuterScope=*/true);
 1517   return SemaRef.SubstParmVarDecl(OldParm, TemplateArgs, indexAdjustment,
tools/clang/lib/Sema/TreeTransform.h
  138   Sema &getSema() const { return SemaRef; }
  149   bool AlwaysRebuild() { return SemaRef.ArgumentPackSubstitutionIndex != -1; }
  600     return SemaRef.Context.getTrivialTypeSourceInfo(T,
  897     return SemaRef.Context.getTypeDeclType(Typedef);
  903     return SemaRef.Context.getMacroQualifiedType(T, MacroII);
  908     return SemaRef.Context.getTypeDeclType(Record);
  913     return SemaRef.Context.getTypeDeclType(Enum);
  945     return SemaRef.Context.getAutoType(Deduced, Keyword,
  953     return SemaRef.Context.getDeducedTemplateSpecializationType(
  971     return SemaRef.BuildParenType(InnerType);
  983     return SemaRef.Context.getElaboratedType(Keyword,
 1014       return SemaRef.Context.getDependentTemplateSpecializationType(Keyword,
 1028     return SemaRef.Context.getElaboratedType(Keyword,
 1049       if (!SemaRef.computeDeclContext(SS))
 1050         return SemaRef.Context.getDependentNameType(Keyword,
 1056       QualType T = SemaRef.CheckTypenameType(Keyword, KeywordLoc, QualifierLoc,
 1063           SemaRef.Diag(IdLoc, diag::err_dependent_deduced_tst)
 1064             << (int)SemaRef.getTemplateNameKindForDiagnostics(
 1068             SemaRef.Diag(TD->getLocation(), diag::note_template_decl_here);
 1080     LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName);
 1081     DeclContext *DC = SemaRef.computeDeclContext(SS, false);
 1085     if (SemaRef.RequireCompleteDeclContext(SS, DC))
 1089     SemaRef.LookupQualifiedName(Result, DC);
 1111       LookupResult Result(SemaRef, Id, IdLoc, Sema::LookupTagName);
 1112       SemaRef.LookupQualifiedName(Result, DC);
 1118           Sema::NonTagKind NTK = SemaRef.getNonTagTypeDeclKind(SomeDecl, Kind);
 1119           SemaRef.Diag(IdLoc, diag::err_tag_reference_non_tag) << SomeDecl
 1121           SemaRef.Diag(SomeDecl->getLocation(), diag::note_declared_at);
 1125           SemaRef.Diag(IdLoc, diag::err_not_tag_in_scope)
 1132     if (!SemaRef.isAcceptableTagRedeclaration(Tag, Kind, /*isDefinition*/false,
 1134       SemaRef.Diag(KeywordLoc, diag::err_use_with_wrong_tag) << Id;
 1135       SemaRef.Diag(Tag->getLocation(), diag::note_previous_use);
 1140     QualType T = SemaRef.Context.getTypeDeclType(Tag);
 1141     return SemaRef.Context.getElaboratedType(Keyword,
 1268     return SemaRef.ActOnLabelStmt(IdentLoc, L, ColonLoc, SubStmt);
 1278     return SemaRef.ActOnAttributedStmt(AttrLoc, Attrs, SubStmt);
 2093               return SemaRef.Diag(Init->getBeginLoc(),
 2431     return SemaRef.BuildInitList(LBraceLoc, Inits, RBraceLoc);
 2444       = SemaRef.ActOnDesignatedInitializer(Desig, EqualOrColonLoc, GNUSyntax,
 2458     return new (SemaRef.Context) ImplicitValueInitExpr(T);
 2510     return SemaRef.ActOnChooseExpr(BuiltinLoc,
 2968     return SemaRef.BuildMemberReferenceExpr(BaseE, BaseType,
 2991     return SemaRef.BuildMemberReferenceExpr(BaseE, BaseType,
 3003     return SemaRef.BuildCXXNoexceptExpr(Range.getBegin(), Arg, Range.getEnd());
 3013     return SizeOfPackExpr::Create(SemaRef.Context, OperatorLoc, Pack, PackLoc,
 3090     return SemaRef.BuildObjCEncodeExpression(AtLoc, EncodeTypeInfo, RParenLoc);
 3101     return SemaRef.BuildClassMessage(ReceiverTypeInfo,
 3116     return SemaRef.BuildInstanceMessage(Receiver,
 3132     return Method->isInstanceMethod() ? SemaRef.BuildInstanceMessage(nullptr,
 3137                                       : SemaRef.BuildClassMessage(nullptr,
 3227       = SemaRef.Context.Idents.get("__builtin_shufflevector");
 3228     TranslationUnitDecl *TUDecl = SemaRef.Context.getTranslationUnitDecl();
 3234     Expr *Callee = new (SemaRef.Context)
 3235         DeclRefExpr(SemaRef.Context, Builtin, false,
 3236                     SemaRef.Context.BuiltinFnTy, VK_RValue, BuiltinLoc);
 3237     QualType CalleePtrTy = SemaRef.Context.getPointerType(Builtin->getType());
 3238     Callee = SemaRef.ImpCastExprToType(Callee, CalleePtrTy,
 3243         SemaRef.Context, Callee, SubExprs, Builtin->getCallResultType(),
 3247     return SemaRef.SemaBuiltinShuffleVector(cast<CallExpr>(TheCall.get()));
 3254     return SemaRef.SemaConvertVectorExpr(SrcExpr, DstTInfo,
 3686       if (SemaRef.BuildCXXNestedNameSpecifier(/*Scope=*/nullptr, IdInfo, false,
 3698       SS.Extend(SemaRef.Context, NS, Q.getLocalBeginLoc(), Q.getLocalEndLoc());
 3707       SS.Extend(SemaRef.Context, Alias, Q.getLocalBeginLoc(),
 3715       SS.MakeGlobal(SemaRef.Context, Q.getBeginLoc());
 3722       SS.MakeSuper(SemaRef.Context, RD, Q.getBeginLoc(), Q.getEndLoc());
 3735           (SemaRef.getLangOpts().CPlusPlus11 &&
 3740           SemaRef.Diag(TL.getBeginLoc(),
 3742         SS.Extend(SemaRef.Context, /*FIXME:*/SourceLocation(), TL,
 3750         SemaRef.Diag(TL.getBeginLoc(), diag::err_nested_name_spec_non_tag)
 3774   return SS.getWithLocInContext(SemaRef.Context);
 3804         SemaRef.Context.DeclarationNames.getCXXDeductionGuideName(NewTemplate));
 3817       NewCanTy = SemaRef.Context.getCanonicalType(NewTInfo->getType());
 3825       NewCanTy = SemaRef.Context.getCanonicalType(NewT);
 3829       = SemaRef.Context.DeclarationNames.getCXXSpecialName(Name.getNameKind(),
 3944                SemaRef.Context.getTrivialTypeSourceInfo(Arg.getAsType(), Loc));
 3953       Builder.MakeTrivial(SemaRef.Context, DTN->getQualifier(), Loc);
 3955       Builder.MakeTrivial(SemaRef.Context, QTN->getQualifier(), Loc);
 3959                                    Builder.getWithLocInContext(SemaRef.Context),
 3963                                    Builder.getWithLocInContext(SemaRef.Context),
 4044     E = SemaRef.ActOnConstantExpression(E);
 4273   return TLB.getTypeSourceInfo(SemaRef.Context, Result);
 4339   return TLB.getTypeSourceInfo(SemaRef.Context, Result);
 4373     SemaRef.Diag(Loc, diag::err_address_space_mismatch_templ_inst)
 4382     T = SemaRef.getASTContext().getAddrSpaceQualType(T,
 4414         Replacement = SemaRef.Context.getQualifiedType(
 4416         T = SemaRef.Context.getSubstTemplateTypeParmType(
 4424             SemaRef.Context.getQualifiedType(Deduced.getUnqualifiedType(), Qs);
 4425         T = SemaRef.Context.getAutoType(Deduced, AutoTy->getKeyword(),
 4431         SemaRef.Diag(Loc, diag::err_attr_objc_ownership_redundant) << T;
 4437   return SemaRef.BuildQualifiedType(T, Loc, Quals);
 4517   return TLB.getTypeSourceInfo(SemaRef.Context, Result);
 4561     Result = SemaRef.Context.getDecayedType(OriginalType);
 4583   if (SemaRef.getLangOpts().OpenCL)
 4584     deduceOpenCLPointeeAddrSpace(SemaRef, PointeeType);
 4592     Result = SemaRef.Context.getObjCObjectPointerType(PointeeType);
 4624   if (SemaRef.getLangOpts().OpenCL)
 4625     deduceOpenCLPointeeAddrSpace(SemaRef, PointeeType);
 4656   if (SemaRef.getLangOpts().OpenCL)
 4657     deduceOpenCLPointeeAddrSpace(SemaRef, PointeeType);
 4767         SemaRef, Sema::ExpressionEvaluationContext::ConstantEvaluated);
 4769     NewSize = SemaRef.ActOnConstantExpression(NewSize).get();
 4837         SemaRef, Sema::ExpressionEvaluationContext::PotentiallyEvaluated);
 4843       SemaRef.ActOnFinishFullExpr(SizeResult.get(), /*DiscardedValue*/ false);
 4883       SemaRef, Sema::ExpressionEvaluationContext::ConstantEvaluated);
 4891   sizeResult = SemaRef.ActOnConstantExpression(sizeResult);
 4929       SemaRef, Sema::ExpressionEvaluationContext::ConstantEvaluated);
 4932   Size = SemaRef.ActOnConstantExpression(Size);
 4971       SemaRef, Sema::ExpressionEvaluationContext::ConstantEvaluated);
 4974   Size = SemaRef.ActOnConstantExpression(Size);
 5014       SemaRef, Sema::ExpressionEvaluationContext::ConstantEvaluated);
 5017   AddrSpace = SemaRef.ActOnConstantExpression(AddrSpace);
 5127     NewDI = TLB.getTypeSourceInfo(SemaRef.Context, Result);
 5136   ParmVarDecl *newParm = ParmVarDecl::Create(SemaRef.Context,
 5175         SemaRef.collectUnexpandedParameterPacks(Pattern, Unexpanded);
 5416       Sema::CXXThisScopeRAII ThisScope(SemaRef, ThisContext, ThisTypeQuals);
 5513       SemaRef.collectUnexpandedParameterPacks(PackExpansion->getPattern(),
 5539         U = SemaRef.Context.getPackExpansionType(U, NumExpansions);
 5550         if (U.isNull() || SemaRef.CheckSpecifiedExceptionType(U, Loc))
 5557       if (U.isNull() || SemaRef.CheckSpecifiedExceptionType(U, Loc))
 5646       SemaRef, Sema::ExpressionEvaluationContext::Unevaluated,
 5653   E = SemaRef.HandleExprEvaluationContextForTypeof(E.get());
 5705       SemaRef, Sema::ExpressionEvaluationContext::Unevaluated, nullptr,
 5867   QualType T = SemaRef.Context.getTypeDeclType(cast<TypeDecl>(D));
 5894   Replacement = SemaRef.Context.getCanonicalType(Replacement);
 5896     = SemaRef.Context.getSubstTemplateTypeParmType(T->getReplacedParameter(),
 6125     NewTL.setQualifierLoc(SS.getWithLocInContext(SemaRef.Context));
 6184         SemaRef.Diag(TL.getNamedTypeLoc().getBeginLoc(),
 6188         SemaRef.Diag(TAT->getLocation(), diag::note_declared_at);
 6241         SemaRef.Diag(TL.getAttr()->getLocation(),
 6248     result = SemaRef.Context.getAttributedType(TL.getAttrKind(),
 6515       SemaRef.collectUnexpandedParameterPacks(PackExpansion->getPattern(),
 6543         QualType NewExpansionType = SemaRef.Context.getPackExpansionType(
 6548           TypeArgBuilder.getTypeSourceInfo(SemaRef.Context, NewExpansionType));
 6566           TypeArgBuilder.getTypeSourceInfo(SemaRef.Context, NewTypeArg));
 6585       TypeArgBuilder.getTypeSourceInfo(SemaRef.Context, NewTypeArg));
 6700         SemaRef, Sema::ExpressionEvaluationContext::ConstantEvaluated);
 6704     LHS = SemaRef.ActOnCaseExpr(S->getCaseLoc(), LHS);
 6710     RHS = SemaRef.ActOnCaseExpr(S->getCaseLoc(), RHS);
 7011   Target = SemaRef.MaybeCreateExprWithCleanups(Target.get());
 7181   auto *ScopeInfo = SemaRef.getCurFunction();
 7182   auto *FD = cast<FunctionDecl>(SemaRef.CurContext);
 7195   if (!SemaRef.buildCoroutineParameterMoves(FD->getLocation()))
 7197   auto *Promise = SemaRef.buildCoroutinePromise(FD->getLocation());
 7219   CoroutineStmtBuilder Builder(SemaRef, *FD, *ScopeInfo, BodyRes.get());
 7638     Cond = SemaRef.CheckBooleanCondition(S->getColonLoc(), Cond.get());
 7642     Cond = SemaRef.MaybeCreateExprWithCleanups(Cond.get());
 7648     Inc = SemaRef.MaybeCreateExprWithCleanups(Inc.get());
 7787   return new (SemaRef.getASTContext())
 7789                         SemaRef.getASTContext().PseudoObjectTy, VK_LValue,
 8801           SemaRef.Context, /*NamingClass=*/nullptr,
 8802           ReductionIdScopeSpec.getWithLocInContext(SemaRef.Context),
 8847           SemaRef.Context, /*NamingClass=*/nullptr,
 8848           ReductionIdScopeSpec.getWithLocInContext(SemaRef.Context), NameInfo,
 8892           SemaRef.Context, /*NamingClass=*/nullptr,
 8893           ReductionIdScopeSpec.getWithLocInContext(SemaRef.Context), NameInfo,
 9297     SemaRef.MarkDeclRefReferenced(E);
 9357     SemaRef.MarkFunctionReferenced(E->getBeginLoc(), FD);
 9358   return SemaRef.MaybeBindToTemporary(E);
 9529   Expr *newSyntacticForm = SemaRef.recreateSyntacticForm(E);
 9537     result = SemaRef.checkPseudoObjectRValue(result.get());
 9565       SemaRef, Sema::ExpressionEvaluationContext::Unevaluated,
 9665     return SemaRef.MaybeBindToTemporary(E);
 9717     SemaRef.MarkMemberReferenced(E);
 9734       SemaRef.getLocForEndOfToken(E->getBase()->getSourceRange().getEnd());
 9934     return SemaRef.MaybeBindToTemporary(E);
 9958       SemaRef.getLocForEndOfToken(E->getBase()->getEndLoc());
10176   SemaRef.ActOnStartStmtExpr();
10180     SemaRef.ActOnStmtExprError();
10187     SemaRef.ActOnStmtExprError();
10188     return SemaRef.MaybeBindToTemporary(E);
10248     SourceLocation FakeLParenLoc = SemaRef.getLocForEndOfToken(
10300     return SemaRef.MaybeBindToTemporary(E);
10354     return SemaRef.MaybeBindToTemporary(E);
10476       SemaRef, Sema::ExpressionEvaluationContext::Unevaluated,
10509       SemaRef, Sema::ExpressionEvaluationContext::Unevaluated);
10575       E->getUsedContext() == SemaRef.CurContext)
10590       E->getUsedContext() == SemaRef.CurContext)
10677       SemaRef.MarkFunctionReferenced(E->getBeginLoc(), OperatorNew);
10679       SemaRef.MarkFunctionReferenced(E->getBeginLoc(), OperatorDelete);
10683         = SemaRef.Context.getBaseElementType(E->getAllocatedType());
10686         if (CXXDestructorDecl *Destructor = SemaRef.LookupDestructor(Record)) {
10687           SemaRef.MarkFunctionReferenced(E->getBeginLoc(), Destructor);
10702     const ArrayType *ArrayT = SemaRef.Context.getAsArrayType(AllocType);
10707       ArraySize = IntegerLiteral::Create(SemaRef.Context, ConsArrayT->getSize(),
10708                                          SemaRef.Context.getSizeType(),
10749       SemaRef.MarkFunctionReferenced(E->getBeginLoc(), OperatorDelete);
10752       QualType Destroyed = SemaRef.Context.getBaseElementType(
10756         SemaRef.MarkFunctionReferenced(E->getBeginLoc(),
10757                                        SemaRef.LookupDestructor(Record));
10778   Base = SemaRef.ActOnStartCXXMemberReference(nullptr, Base.get(),
10812     ParsedType T = SemaRef.getDestructorName(E->getTildeLoc(),
10822       = SemaRef.Context.getTrivialTypeSourceInfo(SemaRef.GetTypeFromParser(T),
10822       = SemaRef.Context.getTrivialTypeSourceInfo(SemaRef.GetTypeFromParser(T),
10905   LookupResult R(SemaRef, Old->getName(), Old->getNameLoc(),
10946       return SemaRef.BuildPossibleImplicitMemberExpr(SS, TemplateKWLoc, R,
10987         Args.push_back(TLB.getTypeSourceInfo(SemaRef.Context, To));
10999     SemaRef.collectUnexpandedParameterPacks(PatternTL, Unexpanded);
11038       Args.push_back(TLB.getTypeSourceInfo(SemaRef.Context, To));
11045       Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(SemaRef, I);
11065       Args.push_back(TLB.getTypeSourceInfo(SemaRef.Context, To));
11092     Args.push_back(TLB.getTypeSourceInfo(SemaRef.Context, To));
11133         SemaRef, Sema::ExpressionEvaluationContext::Unevaluated);
11152         SemaRef, Sema::ExpressionEvaluationContext::Unevaluated);
11276     SemaRef.MarkFunctionReferenced(E->getBeginLoc(), Constructor);
11304     SemaRef.MarkFunctionReferenced(E->getBeginLoc(), Constructor);
11365     SemaRef.MarkFunctionReferenced(E->getBeginLoc(), Constructor);
11366     return SemaRef.MaybeBindToTemporary(E);
11427       SemaRef.collectUnexpandedParameterPacks(OldVD->getInit(), Unexpanded);
11793     Base = SemaRef.ActOnStartCXXMemberReference(nullptr, Base.get(),
11905   LookupResult R(SemaRef, Old->getMemberNameInfo(),
11956       SemaRef, Sema::ExpressionEvaluationContext::Unevaluated);
12282   return SemaRef.MaybeBindToTemporary(E);
12316     return SemaRef.MaybeBindToTemporary(E);
12439     return SemaRef.MaybeBindToTemporary(E);
12489   return SemaRef.BuildObjCBridgedCast(E->getLParenLoc(), E->getBridgeKind(),
12521       return SemaRef.MaybeBindToTemporary(E);
12563     return SemaRef.MaybeBindToTemporary(E);
12635                                                  SemaRef.Context.PseudoObjectTy,
12728   SemaRef.ActOnBlockStart(E->getCaretLocation(), /*Scope=*/nullptr);
12729   BlockScopeInfo *blockScope = SemaRef.getCurBlock();
12779   if (!SemaRef.getDiagnostics().hasErrorOccurred()) {
12796   return SemaRef.ActOnBlockStmtExpr(E->getCaretLocation(), body.get(),
12831   return SemaRef.BuildPointerType(PointeeType, Star,
12838   return SemaRef.BuildBlockPointerType(PointeeType, Star,
12847   return SemaRef.BuildReferenceType(ReferentType, WrittenAsLValue,
12856   return SemaRef.BuildMemberPointerType(PointeeType, ClassType, Sigil,
12867   return SemaRef.BuildObjCTypeParamType(Decl,
12884   return SemaRef.BuildObjCObjectType(BaseType, Loc, TypeArgsLAngleLoc,
12895   return SemaRef.Context.getObjCObjectPointerType(PointeeType);
12907     return SemaRef.BuildArrayType(ElementType, SizeMod, SizeExpr,
12912     SemaRef.Context.UnsignedCharTy, SemaRef.Context.UnsignedShortTy,
12912     SemaRef.Context.UnsignedCharTy, SemaRef.Context.UnsignedShortTy,
12913     SemaRef.Context.UnsignedIntTy, SemaRef.Context.UnsignedLongTy,
12913     SemaRef.Context.UnsignedIntTy, SemaRef.Context.UnsignedLongTy,
12914     SemaRef.Context.UnsignedLongLongTy, SemaRef.Context.UnsignedInt128Ty
12914     SemaRef.Context.UnsignedLongLongTy, SemaRef.Context.UnsignedInt128Ty
12919     if (Size->getBitWidth() == SemaRef.Context.getIntWidth(Types[I])) {
12927       = IntegerLiteral::Create(SemaRef.Context, *Size, SizeType,
12929   return SemaRef.BuildArrayType(ElementType, SizeMod, ArraySize,
12983   return SemaRef.BuildAddressSpaceAttr(PointeeType, AddrSpaceExpr,
12993   return SemaRef.Context.getVectorType(ElementType, NumElements, VecKind);
13000   return SemaRef.BuildVectorType(ElementType, SizeExpr, AttributeLoc);
13007   llvm::APInt numElements(SemaRef.Context.getIntWidth(SemaRef.Context.IntTy),
13007   llvm::APInt numElements(SemaRef.Context.getIntWidth(SemaRef.Context.IntTy),
13010     = IntegerLiteral::Create(SemaRef.Context, numElements, SemaRef.Context.IntTy,
13010     = IntegerLiteral::Create(SemaRef.Context, numElements, SemaRef.Context.IntTy,
13012   return SemaRef.BuildExtVectorType(ElementType, VectorSize, AttributeLoc);
13020   return SemaRef.BuildExtVectorType(ElementType, SizeExpr, AttributeLoc);
13028   return SemaRef.BuildFunctionType(T, ParamTypes,
13036   return SemaRef.Context.getFunctionNoProtoType(T);
13088   return SemaRef.Context.getTypeDeclType(Ty);
13094   return SemaRef.BuildTypeofExprType(E, Loc);
13099   return SemaRef.Context.getTypeOfType(Underlying);
13105   return SemaRef.BuildDecltypeType(E, Loc);
13112   return SemaRef.BuildUnaryTransformType(BaseType, UKind, Loc);
13120   return SemaRef.CheckTemplateIdType(Template, TemplateNameLoc, TemplateArgs);
13126   return SemaRef.BuildAtomicType(ValueType, KWLoc);
13133   return isReadPipe ? SemaRef.BuildReadPipeType(ValueType, KWLoc)
13134                     : SemaRef.BuildWritePipeType(ValueType, KWLoc);
13142   return SemaRef.Context.getQualifiedTemplateName(SS.getScopeRep(), TemplateKW,
13200       return SemaRef.checkPseudoObjectAssignment(/*Scope=*/nullptr, OpLoc, Opc,
13202     ExprResult Result = SemaRef.CheckPlaceholderExpr(First);
13209     ExprResult Result = SemaRef.CheckPlaceholderExpr(Second);
13223     return SemaRef.BuildOverloadedArrowExpr(nullptr, First, OpLoc);
13242         = SemaRef.CreateBuiltinBinOp(OpLoc, Opc, First, Second);
13279     return SemaRef.CreateOverloadedUnaryOp(OpLoc, Opc, Functions, First,
13298     return SemaRef.CreateOverloadedArraySubscriptExpr(LBrace, RBrace,
13304   ExprResult Result = SemaRef.CreateOverloadedBinOp(
13329     return SemaRef.BuildPseudoDestructorExpr(
13335   DeclarationName Name(SemaRef.Context.DeclarationNames.getCXXDestructorName(
13336                  SemaRef.Context.getCanonicalType(DestroyedType->getType())));
13349     SS.Extend(SemaRef.Context, SourceLocation(), ScopeType->getTypeLoc(),