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

References

tools/clang/lib/Parse/ParseAST.cpp
  144   ExternalASTSource *External = S.getASTContext().getExternalSource();
  171   Consumer->HandleTranslationUnit(S.getASTContext());
  184     S.getASTContext().PrintStats();
tools/clang/lib/Parse/ParseDecl.cpp
 2617                          Actions.getASTContext().getPrintingPolicy());
 2754                        Actions.getASTContext().getPrintingPolicy());
 2965   const PrintingPolicy &PPol = Actions.getASTContext().getPrintingPolicy();
 3979                                Actions.getASTContext().getPrintingPolicy()))
 4179                  TagType, Actions.getASTContext().getPrintingPolicy());
 4568                            Actions.getASTContext().getPrintingPolicy()))
 4592                            Actions.getASTContext().getPrintingPolicy()))
 4623                          Actions.getASTContext().getPrintingPolicy()))
 5431       DS.Finish(Actions, Actions.getASTContext().getPrintingPolicy());
 6979                            Actions.getASTContext().getPrintingPolicy()))
 7002                          Actions.getASTContext().getPrintingPolicy()))
 7037                          Actions.getASTContext().getPrintingPolicy()))
 7077   const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy();
tools/clang/lib/Parse/ParseDeclCXX.cpp
 1026   const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy();
 1084                          Actions.getASTContext().getPrintingPolicy()))
 1235                      Actions.getASTContext().getPrintingPolicy());
 1682   const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy();
 1740       const PrintingPolicy &PPol = Actions.getASTContext().getPrintingPolicy();
 2015       const PrintingPolicy &PPol = Actions.getASTContext().getPrintingPolicy();
 3146                                    Actions.getASTContext().getPrintingPolicy());
tools/clang/lib/Parse/ParseExpr.cpp
 1034                                Actions.getASTContext().getPrintingPolicy());
 1260                          Actions.getASTContext().getPrintingPolicy());
tools/clang/lib/Parse/ParseExprCXX.cpp
 2090       Actions.getASTContext().getPrintingPolicy();
 2208   DS.Finish(Actions, Actions.getASTContext().getPrintingPolicy());
tools/clang/lib/Parse/ParseObjc.cpp
 1688                          typeArg, Actions.getASTContext().getPrintingPolicy());
tools/clang/lib/Parse/ParseOpenMP.cpp
  221   auto &DeclNames = Actions.getASTContext().DeclarationNames;
  504   auto &DeclNames = Actions.getASTContext().DeclarationNames;
  519         DeclNames.getIdentifier(&Actions.getASTContext().Idents.get("default"));
 2477   auto &DeclNames = Actions.getASTContext().DeclarationNames;
tools/clang/lib/Parse/Parser.cpp
  206                                     Actions.getASTContext().getPrintingPolicy())
  561   if (NoTopLevelDecls && !Actions.getASTContext().getExternalSource() &&
 1072                            Actions.getASTContext().getPrintingPolicy()))
 1142     const PrintingPolicy &Policy = Actions.getASTContext().getPrintingPolicy();
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
 1353   ASTContext &Ctx = S.getASTContext();
tools/clang/lib/Sema/SemaCast.cpp
 1909   CallingConv DefaultCC = Self.getASTContext().getDefaultCallingConvention(
 2372     DestPtr = Self.getASTContext().getCanonicalType(DestType.getTypePtr()),
 2373     SrcPtr  = Self.getASTContext().getCanonicalType(SrcType.getTypePtr());
tools/clang/lib/Sema/SemaChecking.cpp
  218         S.getASTContext(), Ty, /*consume*/ false);
  240         S.getASTContext(), Ty, /*consume*/ false);
  405     if (!SizeArg->EvaluateAsInt(Result, getASTContext()))
  421     if (!ObjArg->tryEvaluateObjectSize(Result, getASTContext(), BOSType))
  424     const TargetInfo &TI = getASTContext().getTargetInfo();
  432   if (!UsedSizeArg->EvaluateAsInt(Result, getASTContext()))
  439   StringRef FunctionName = getASTContext().BuiltinInfo.getName(BuiltinID);
 1063       S.getASTContext().getTargetInfo().getTriple().getArch();
 6833     if (C->getCond()->EvaluateAsBooleanCondition(Cond, S.getASTContext(),
 8147   if (!FS.hasValidLengthModifier(S.getASTContext().getTargetInfo(),
 8690   if (!FS.hasValidLengthModifier(S.getASTContext().getTargetInfo(),
 9434   ASTContext &getContext() { return S.getASTContext(); }
 9479   ASTContext &getContext() { return S.getASTContext(); }
11240   int Order = S.getASTContext().getFloatingTypeSemanticOrder(
11591     if (E->EvaluateAsInt(Result, S.getASTContext(),
11654       int Order = S.getASTContext().getFloatingTypeSemanticOrder(
tools/clang/lib/Sema/SemaCodeComplete.cpp
  417       return S.getASTContext().getPointerDiffType();
  456       return S.getASTContext().IntTy;
  462     return S.getASTContext().BoolTy;
  492     return S.getASTContext().BoolTy;
  500     return S.getASTContext().getPointerType(ContextType.getNonReferenceType());
  507       return S.getASTContext().IntTy;
  549   Type = S.getASTContext().IntTy;
  562   Type = S.getASTContext().BoolTy;
 1980             getCompletionPrintingPolicy(S.getASTContext(), S.getPreprocessor());
 1982             S.getPreprocessor(), S.getASTContext(), Builder,
 3677       if (auto RC = getParameterComment(S.getASTContext(), *this, CurrentArg))
 3678         Result.addBriefComment(RC->getBriefText(S.getASTContext()));
 3689   AddOverloadParameterChunks(S.getASTContext(), Policy, FDecl, Proto, Result,
 3924                                  S.getASTContext().BoolTy);
 4959   CodeCompleteExpression(S, QualType(getASTContext().getSizeType()));
tools/clang/lib/Sema/SemaDecl.cpp
 3189   if (!getASTContext().canBuiltinBeRedeclared(Old)) {
 8341   if (isOpenCLSizeDependentType(S.getASTContext(), PT))
 9551     Attr *NewAttr = SAttr->clone(S.getASTContext());
 9563       Attr *NewAttr = SAttr->clone(S.getASTContext());
 9587         getASTContext(), CodeSegStack.CurrentValue->getString(),
 9832   if (!S.getASTContext().getTargetInfo().supportsMultiVersioning()) {
 9930   if (!S.getASTContext().getTargetInfo().supportsMultiVersioning()) {
12526           Init->EvaluateAsInitializer(Value, getASTContext(), var, Notes);
12590     auto *NewAttr = cast<InheritableAttr>(A->clone(getASTContext()));
12594     auto *NewAttr = DLLExportAttr::CreateImplicit(getASTContext(), *A);
12604     auto *NewAttr = DLLImportAttr::CreateImplicit(getASTContext(), *A);
17719         !isDiscardableGVALinkage(getASTContext().GetGVALinkageForFunction(Def))
tools/clang/lib/Sema/SemaDeclAttr.cpp
 1312     if (S.getASTContext().getTargetInfo().getTriple().isPS4()) {
 1947     const auto &Triple = S.getASTContext().getTargetInfo().getTriple();
 2842        !ParmType->isIntegralType(S.getASTContext()))) {
 6415     if (!IsKernReturnT || T.getCanonicalType() != S.getASTContext().IntTy) {
 7591           MD->definedInNSObject(S.getASTContext())) {
 7849         getAttrForPlatform(S.getASTContext(), OffendingDecl);
 7859         S.getASTContext().getTargetInfo().getPlatformName());
 7892               S.getASTContext().getTargetInfo().getPlatformName())
 8298       getAttrForPlatform(SemaRef.getASTContext(), OffendingDecl);
 8322         SemaRef.getASTContext().getTargetInfo().getPlatformName());
 8386                    SemaRef.getASTContext().getTargetInfo().getPlatformName())
tools/clang/lib/Sema/SemaDeclCXX.cpp
 5872         auto *A = cast<InheritableAttr>(TemplateAttr->clone(getASTContext()));
 5993           NewAttr = ::new (getASTContext())
 5994               DLLExportStaticLocalAttr(getASTContext(), *ClassAttr);
 5996           NewAttr = ::new (getASTContext())
 5997               DLLImportStaticLocalAttr(getASTContext(), *ClassAttr);
 6000         NewAttr = cast<InheritableAttr>(ClassAttr->clone(getASTContext()));
 6015           NewAttr = cast<InheritableAttr>(ClassAttr->clone(getASTContext()));
 6045     auto *NewAttr = cast<InheritableAttr>(ClassAttr->clone(getASTContext()));
 6243         S.getASTContext().getTypeSize(D->getTypeForDecl()) <= TypeSize)
 8395     ++getASTContext().NumImplicitDefaultConstructors;
 8402     ++getASTContext().NumImplicitCopyConstructors;
 8424     ++getASTContext().NumImplicitMoveConstructors;
 8432     ++getASTContext().NumImplicitCopyAssignmentOperators;
 8445     ++getASTContext().NumImplicitMoveAssignmentOperators;
 8455     ++getASTContext().NumImplicitDestructors;
11478   ++getASTContext().NumImplicitDefaultConstructorsDeclared;
11757   ++getASTContext().NumImplicitDestructorsDeclared;
12383   ++getASTContext().NumImplicitCopyAssignmentOperatorsDeclared;
12707   ++getASTContext().NumImplicitMoveAssignmentOperatorsDeclared;
13092   ++getASTContext().NumImplicitCopyConstructorsDeclared;
13224   ++getASTContext().NumImplicitMoveConstructorsDeclared;
13587   if (VD->isNoDestroy(getASTContext()))
tools/clang/lib/Sema/SemaDeclObjC.cpp
 4500   assert(SemaRef.getASTContext().getTargetInfo().getTriple().getArch() ==
 4522   const auto &Triple = SemaRef.getASTContext().getTargetInfo().getTriple();
 4530   if (SemaRef.getASTContext().getTargetInfo().getPlatformMinVersion() >=
tools/clang/lib/Sema/SemaExpr.cpp
 5292   if (getASTContext().hasSameUnqualifiedType(CAT->getElementType(),
 5305       getASTContext().getTypeSizeInCharsIfKnown(ArgCAT);
 5306   Optional<CharUnits> ParmSize = getASTContext().getTypeSizeInCharsIfKnown(CAT);
 9544   ASTContext &Ctx = Self.getASTContext();
10219   if (Other->isNullPointerConstant(S.getASTContext(),
12741   auto &Context = S.getASTContext();
13136          E->EvaluateAsBooleanCondition(Res, S.getASTContext()) && Res;
13144          E->EvaluateAsBooleanCondition(Res, S.getASTContext()) && !Res;
13265   if ((Opc == BO_Shl && LHSExpr->getType()->isIntegralType(Self.getASTContext()))
18000   StringRef Platform = getASTContext().getTargetInfo().getPlatformName();
tools/clang/lib/Sema/SemaExprCXX.cpp
 1131   T = S.getASTContext().getQualifiedType(T, CXXThisTypeQuals);
 1556          S.getASTContext().getTypeAlignIfKnown(AllocType) >
 1557              S.getASTContext().getTargetInfo().getNewAlign();
 1756     const llvm::Triple &T = getASTContext().getTargetInfo().getTriple();
 1758         getASTContext().getTargetInfo().getPlatformName());
 5131     QualType Lhs = Self.getASTContext().getUnqualifiedArrayType(LhsT, LhsQuals);
 5132     QualType Rhs = Self.getASTContext().getUnqualifiedArrayType(RhsT, RhsQuals);
tools/clang/lib/Sema/SemaFixItUtils.cpp
  163   return (bool)S.PP.getMacroDefinitionAtLoc(&S.getASTContext().Idents.get(Name),
tools/clang/lib/Sema/SemaInit.cpp
 5483   return Initializer->isIntegerConstantExpr(S.getASTContext()) &&
 5484     (Initializer->EvaluateKnownConstInt(S.getASTContext()) == 0);
 9537         << ConstantValue.getAsString(S.getASTContext(), ConstantType)
tools/clang/lib/Sema/SemaLambda.cpp
  723   ASTContext &Ctx = getASTContext();
tools/clang/lib/Sema/SemaLookup.cpp
  840         if (II == getASTContext().getMakeIntegerSeqName()) {
  841           R.addDecl(getASTContext().getMakeIntegerSeqDecl());
  843         } else if (II == getASTContext().getTypePackElementName()) {
  844           R.addDecl(getASTContext().getTypePackElementDecl());
 3738       Visited.visitedContext(SemaRef.getASTContext().getTranslationUnitDecl());
 3748       Visited.visitedContext(SemaRef.getASTContext().getTranslationUnitDecl());
 4303   auto &Types = SemaRef.getASTContext().getTypes();
tools/clang/lib/Sema/SemaModule.cpp
  426     TranslationUnitDecl *TU = getASTContext().getTranslationUnitDecl();
  427     ImportDecl *ImportD = ImportDecl::CreateImplicit(getASTContext(), TU,
  512   TranslationUnitDecl *TU = getASTContext().getTranslationUnitDecl();
  513   ImportDecl *ImportD = ImportDecl::CreateImplicit(getASTContext(), TU,
tools/clang/lib/Sema/SemaOpenMP.cpp
 1126   return DeclRefExpr::Create(S.getASTContext(), NestedNameSpecifierLoc(),
 1245   ASTContext &Context = SemaRef.getASTContext();
 1266   ASTContext &Context = SemaRef.getASTContext();
 1313          SemaRef.getASTContext().getTargetInfo().isTLSSupported())) ||
 1723   ASTContext &Ctx = getASTContext();
 2466            getASTContext().getTargetInfo().isTLSSupported())) ||
 2518     AE->Profile(AEId, S.getASTContext(), /*Canonical=*/true);
 2519     DefAllocator->Profile(DAEId, S.getASTContext(), /*Canonical=*/true);
 2750   else if (D->getType().isConstant(SemaRef.getASTContext()))
 3508   ASTContext &C = S.getASTContext();
 3549         S, &S.getASTContext().Idents.get(".capture_expr."), CaptureExpr,
 3664          getASTContext().getTargetInfo().isTLSSupported() &&
 6907         CollapseLoopCountExpr->EvaluateAsInt(Result, SemaRef.getASTContext())) {
 6920                                             SemaRef.getASTContext())) {
 8277         X->IgnoreParenImpCasts()->Profile(XId, SemaRef.getASTContext(),
 8279         LHS->IgnoreParenImpCasts()->Profile(LHSId, SemaRef.getASTContext(),
 8281         RHS->IgnoreParenImpCasts()->Profile(RHSId, SemaRef.getASTContext(),
 8399     auto *OVEX = new (SemaRef.getASTContext())
 8401     auto *OVEExpr = new (SemaRef.getASTContext())
11217     DeclarationName AllocatorName = &S.getASTContext().Idents.get(Allocator);
11225         VD->getType().getNonLValueExprType(S.getASTContext());
11233     if (!S.getASTContext().hasSameType(OMPAllocatorHandleT, AllocatorType)) {
14555     if (!LowerBound->EvaluateAsInt(Result, SemaRef.getASTContext()))
14579   if (!Length->EvaluateAsInt(Result, SemaRef.getASTContext()))
14614   if (!Length->EvaluateAsInt(Result, SemaRef.getASTContext()))
14776         if (CurE->getIdx()->EvaluateAsInt(Result, SemaRef.getASTContext())) {
14837                                              SemaRef.getASTContext())) {
14846                                         ResultL, SemaRef.getASTContext())) {
15272     auto &DeclNames = SemaRef.getASTContext().DeclarationNames;
15274         &SemaRef.getASTContext().Idents.get("default")));
tools/clang/lib/Sema/SemaOverload.cpp
 1042       if (!getASTContext().canBuiltinBeRedeclared(OldF)) {
 1874              From->isIntegerConstantExpr(S.getASTContext()) &&
 1875              From->EvaluateKnownConstInt(S.getASTContext()) == 0) {
 1879              From->isIntegerConstantExpr(S.getASTContext()) &&
 1880              (From->EvaluateKnownConstInt(S.getASTContext()) == 0)) {
 1884              From->isIntegerConstantExpr(S.getASTContext())) {
 9224     (*Cand1A)->getCond()->Profile(Cand1ID, S.getASTContext(), true);
 9225     (*Cand2A)->getCond()->Profile(Cand2ID, S.getASTContext(), true);
11314         Complain(Complain), Context(S.getASTContext()),
tools/clang/lib/Sema/SemaStmt.cpp
 4439       getASTContext(), S, static_cast<CapturedRegionKind>(RSI->CapRegionKind),
tools/clang/lib/Sema/SemaTemplate.cpp
 2994   ASTContext &Context = SemaRef.getASTContext();
 9193             getDLLAttr(Specialization)->clone(getASTContext()));
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  175       S.getASTContext(),
  177       S.getASTContext().UnsignedLongLongTy, Align->getLocation());
  219     New->addAttr(new (S.getASTContext()) EnableIfAttr(S.getASTContext(), *EIA,
  219     New->addAttr(new (S.getASTContext()) EnableIfAttr(S.getASTContext(), *EIA,
  230     New->addAttr(new (S.getASTContext()) DiagnoseIfAttr(
  231         S.getASTContext(), *DIA, Cond, DIA->getMessage(),
 4616   if (ASTMutationListener *L = getASTContext().getASTMutationListener())
 4645            !InitExpr->isConstantInitializer(getASTContext(), false))) {
 4774   VarDecl *Def = PatternDecl->getDefinition(getASTContext());
 4817       !Var->mightBeUsableInConstantExpressions(getASTContext()))
 5613         getASTContext().forEachMultiversionedFunctionVersion(
tools/clang/lib/Sema/SemaType.cpp
 7970         S.getASTContext(),
tools/clang/lib/Sema/TreeTransform.h
 2141     return SEHFinallyStmt::Create(getSema().getASTContext(), Loc, Block);
 4382     T = SemaRef.getASTContext().getAddrSpaceQualType(T,
 5301                 getSema().getASTContext().getPackExpansionType(NewType, None);
 7787   return new (SemaRef.getASTContext())
 7789                         SemaRef.getASTContext().PseudoObjectTy, VK_LValue,
tools/clang/tools/extra/clangd/CodeComplete.cpp
  846               ? getDeclComment(S.getASTContext(), *Candidate.getFunction())
 1441         OpaqueType::fromType(Recorder->CCSema->getASTContext(),
 1632                   Recorder->CCSema->getASTContext(), *Candidate.SemaResult)) {
 1675         Builder.emplace(Recorder ? &Recorder->CCSema->getASTContext() : nullptr,
tools/clang/unittests/CodeGen/IncrementalProcessingTest.cpp
   75   ExternalASTSource *External = S.getASTContext().getExternalSource();
   93   CG.HandleTranslationUnit(S.getASTContext());
tools/clang/unittests/Sema/CodeCompleteTest.cpp
   52         S.getASTContext().getPointerDiffType().getAsString();
tools/clang/unittests/Sema/ExternalSemaSourceTest.cpp
  115       ASTContext &Context = CurrentSema->getASTContext();
  157       ASTContext &Context = CurrentSema->getASTContext();
tools/lldb/source/Symbol/ClangASTContext.cpp
  666   assert(s == nullptr || &s->getASTContext() == m_ast_up.get());
tools/lldb/source/Symbol/CxxModuleHandler.cpp
   66   IdentifierInfo &ident = sema.getASTContext().Idents.get(name);
  126     return sema.getASTContext().getTranslationUnitDecl();
  270       *m_importer, d, m_sema->getASTContext(),