Lines Matching refs:getASTContext
40 return D->getASTContext().getPrimaryMergedDecl(D); in getPrimaryMergedDecl()
223 if (D->getASTContext().getTargetInfo().getTriple().isOSDarwin()) { in getVisibilityOf()
540 const LangOptions &Opts = D->getASTContext().getLangOpts(); in useInlineVisibilityHidden()
582 ASTContext &Context = D->getASTContext(); in getLVForNamespaceScopeDecl()
1185 ASTContext &Context = D->getASTContext(); in getLVForLocalDecl()
1262 if (!D->getASTContext().getLangOpts().CPlusPlus || in computeLVForDecl()
1368 const LangOptions &Opts = D->getASTContext().getLangOpts(); in getLVForDecl()
1401 printQualifiedName(OS, getASTContext().getPrintingPolicy()); in getQualifiedNameAsString()
1406 printQualifiedName(OS, getASTContext().getPrintingPolicy()); in printQualifiedName()
1545 ASTContext &Context = getASTContext(); in declarationReplaces()
1551 ASTContext &Context = getASTContext(); in declarationReplaces()
1656 DeclInfo = new (getASTContext()) ExtInfo; in setQualifierInfo()
1669 getASTContext().Deallocate(getExtInfo()); in setQualifierInfo()
1687 DeclInfo = new (getASTContext()) ExtInfo; in setTemplateParameterListsInfo()
1822 !(getASTContext().getLangOpts().OpenMPUseTLS && in getTLSKind()
1823 getASTContext().getTargetInfo().isTLSSupported() && in getTLSKind()
1826 return ((getASTContext().getLangOpts().isCompatibleWithMSVC( in getTLSKind()
1860 ASTContext &Context = D.getASTContext(); in getDeclLanguageLinkage()
1885 assert(D.getASTContext().getLangOpts().CPlusPlus); in isDeclExternC()
2084 getASTContext().Deallocate(Eval); in setInit()
2127 Eval = new (getASTContext()) EvaluatedStmt; in ensureEvaluatedStmt()
2168 bool Result = Init->EvaluateAsInitializer(Eval->Evaluated, getASTContext(), in evaluateValue()
2177 getASTContext().AddDeallocation(DestroyAPValue, &Eval->Evaluated); in evaluateValue()
2184 if (getASTContext().getLangOpts().CPlusPlus11 && !Eval->CheckedICE) { in evaluateValue()
2229 if (getASTContext().getLangOpts().CPlusPlus11) { in checkInitIsICE()
2243 Eval->IsICE = Init->isIntegerConstantExpr(getASTContext()); in checkInitIsICE()
2277 return getASTContext().getTemplateOrSpecializationInfo(this) in getDescribedVarTemplate()
2282 getASTContext().setTemplateOrSpecializationInfo(this, Template); in setDescribedVarTemplate()
2289 return getASTContext().getTemplateOrSpecializationInfo(this) in getMemberSpecializationInfo()
2319 assert(getASTContext().getTemplateOrSpecializationInfo(this).isNull() && in setInstantiationOfStaticDataMember()
2321 getASTContext().setInstantiatedFromStaticDataMember(this, VD, TSK); in setInstantiationOfStaticDataMember()
2427 getASTContext().setParameterIndex(this, parameterIndex); in setParameterIndexLarge()
2432 return getASTContext().getParameterIndex(this); in getParameterIndexLarge()
2496 return Definition->Body.get(getASTContext().getExternalSource()); in getBody()
2524 !tunit->getASTContext().getLangOpts().Freestanding && in isMain()
2538 if (!TUnit->getASTContext().getTargetInfo().getTriple().isOSMSVCRT()) in isMSVCRTEntryPoint()
2571 ->getASTContext(); in isReservedGlobalPlacementOperator()
2606 ASTContext &Ctx = getASTContext(); in isReplaceableGlobalAllocationFunction()
2695 ASTContext &Context = getASTContext(); in getBuiltinID()
2763 NamedDecl **A = new (getASTContext()) NamedDecl*[NewDecls.size()]; in setDeclsInPrototypeScope()
2786 if (!getASTContext().getLangOpts().CPlusPlus) in getMinRequiredArguments()
2804 const ASTContext &Context = getASTContext(); in isMSExternInline()
2855 ASTContext &Context = getASTContext(); in doesDeclarationForceExternallyVisibleDefinition()
2921 const SourceManager &SM = getASTContext().getSourceManager(); in getReturnTypeSourceRange()
2969 ASTContext &Context = getASTContext(); in isInlineDefinitionExternallyVisible()
3179 return getASTContext().getClassScopeSpecializationPattern(this); in getClassScopeSpecializationPattern()
3548 new (getASTContext()) struct CXXRecordDecl::DefinitionData(D); in startDefinition()
3593 TypedefNameDeclOrQualifier = new (getASTContext()) ExtInfo; in setQualifierInfo()
3600 getASTContext().Deallocate(getExtInfo()); in setQualifierInfo()
3615 TypedefNameDeclOrQualifier = new (getASTContext()) ExtInfo; in setTemplateParameterListsInfo()
3763 addAttr(CapturedRecordAttr::CreateImplicit(getASTContext())); in setCapturedRecord()
3788 ExternalASTSource *Source = getASTContext().getExternalSource(); in LoadFieldsFromExternalStorage()
3814 ASTContext &Context = getASTContext(); in mayInsertExtraPadding()
3882 ParamInfo = new (getASTContext()) ParmVarDecl*[NewParamInfo.size()]; in setParams()
3997 char *Buffer = new (getASTContext(), 1) char[Name.size() + 1]; in setMSAsmLabel()