Lines Matching refs:getASTContext
39 return D->getASTContext().getPrimaryMergedDecl(D); in getPrimaryMergedDecl()
222 if (D->getASTContext().getTargetInfo().getTriple().isOSDarwin()) { in getVisibilityOf()
539 const LangOptions &Opts = D->getASTContext().getLangOpts(); in useInlineVisibilityHidden()
581 ASTContext &Context = D->getASTContext(); in getLVForNamespaceScopeDecl()
1182 ASTContext &Context = D->getASTContext(); in getLVForLocalDecl()
1259 if (!D->getASTContext().getLangOpts().CPlusPlus || in computeLVForDecl()
1365 const LangOptions &Opts = D->getASTContext().getLangOpts(); in getLVForDecl()
1398 printQualifiedName(OS, getASTContext().getPrintingPolicy()); in getQualifiedNameAsString()
1403 printQualifiedName(OS, getASTContext().getPrintingPolicy()); in printQualifiedName()
1545 ASTContext &Context = getASTContext(); in declarationReplaces()
1551 ASTContext &Context = getASTContext(); in declarationReplaces()
1653 DeclInfo = new (getASTContext()) ExtInfo; in setQualifierInfo()
1666 getASTContext().Deallocate(getExtInfo()); in setQualifierInfo()
1684 DeclInfo = new (getASTContext()) ExtInfo; in setTemplateParameterListsInfo()
1819 !(getASTContext().getLangOpts().OpenMPUseTLS && in getTLSKind()
1820 getASTContext().getTargetInfo().isTLSSupported() && in getTLSKind()
1823 return ((getASTContext().getLangOpts().isCompatibleWithMSVC( in getTLSKind()
1857 ASTContext &Context = D.getASTContext(); in getDeclLanguageLinkage()
1882 assert(D.getASTContext().getLangOpts().CPlusPlus); in isDeclExternC()
2062 getASTContext().Deallocate(Eval); in setInit()
2106 Eval = new (getASTContext()) EvaluatedStmt; in ensureEvaluatedStmt()
2147 bool Result = Init->EvaluateAsInitializer(Eval->Evaluated, getASTContext(), in evaluateValue()
2156 getASTContext().AddDeallocation(DestroyAPValue, &Eval->Evaluated); in evaluateValue()
2163 if (getASTContext().getLangOpts().CPlusPlus11 && !Eval->CheckedICE) { in evaluateValue()
2187 if (getASTContext().getLangOpts().CPlusPlus11) { in checkInitIsICE()
2201 Eval->IsICE = Init->isIntegerConstantExpr(getASTContext()); in checkInitIsICE()
2235 return getASTContext().getTemplateOrSpecializationInfo(this) in getDescribedVarTemplate()
2240 getASTContext().setTemplateOrSpecializationInfo(this, Template); in setDescribedVarTemplate()
2247 return getASTContext().getTemplateOrSpecializationInfo(this) in getMemberSpecializationInfo()
2277 assert(getASTContext().getTemplateOrSpecializationInfo(this).isNull() && in setInstantiationOfStaticDataMember()
2279 getASTContext().setInstantiatedFromStaticDataMember(this, VD, TSK); in setInstantiationOfStaticDataMember()
2351 getASTContext().setParameterIndex(this, parameterIndex); in setParameterIndexLarge()
2356 return getASTContext().getParameterIndex(this); in getParameterIndexLarge()
2420 return Definition->Body.get(getASTContext().getExternalSource()); in getBody()
2448 !tunit->getASTContext().getLangOpts().Freestanding && in isMain()
2462 if (!TUnit->getASTContext().getTargetInfo().getTriple().isOSMSVCRT()) in isMSVCRTEntryPoint()
2495 ->getASTContext(); in isReservedGlobalPlacementOperator()
2530 ASTContext &Ctx = getASTContext(); in isReplaceableGlobalAllocationFunction()
2619 ASTContext &Context = getASTContext(); in getBuiltinID()
2682 NamedDecl **A = new (getASTContext()) NamedDecl*[NewDecls.size()]; in setDeclsInPrototypeScope()
2705 if (!getASTContext().getLangOpts().CPlusPlus) in getMinRequiredArguments()
2723 const ASTContext &Context = getASTContext(); in isMSExternInline()
2774 ASTContext &Context = getASTContext(); in doesDeclarationForceExternallyVisibleDefinition()
2840 const SourceManager &SM = getASTContext().getSourceManager(); in getReturnTypeSourceRange()
2882 ASTContext &Context = getASTContext(); in isInlineDefinitionExternallyVisible()
3080 return getASTContext().getClassScopeSpecializationPattern(this); in getClassScopeSpecializationPattern()
3437 new (getASTContext()) struct CXXRecordDecl::DefinitionData(D); in startDefinition()
3482 TypedefNameDeclOrQualifier = new (getASTContext()) ExtInfo; in setQualifierInfo()
3489 getASTContext().Deallocate(getExtInfo()); in setQualifierInfo()
3504 TypedefNameDeclOrQualifier = new (getASTContext()) ExtInfo; in setTemplateParameterListsInfo()
3637 addAttr(CapturedRecordAttr::CreateImplicit(getASTContext())); in setCapturedRecord()
3662 ExternalASTSource *Source = getASTContext().getExternalSource(); in LoadFieldsFromExternalStorage()
3688 ASTContext &Context = getASTContext(); in mayInsertExtraPadding()
3756 ParamInfo = new (getASTContext()) ParmVarDecl*[NewParamInfo.size()]; in setParams()
3824 char *Buffer = new (getASTContext(), 1) char[Name.size() + 1]; in setMSAsmLabel()