Lines Matching refs:getASTContext
78 return D->getASTContext().getPrimaryMergedDecl(D); in getPrimaryMergedDecl()
548 const LangOptions &Opts = D->getASTContext().getLangOpts(); in useInlineVisibilityHidden()
614 ASTContext &Context = D->getASTContext(); in getLVForNamespaceScopeDecl()
998 ASTContext &Context = D->getASTContext(); in getLVForClassMember()
1400 ASTContext &Context = D->getASTContext(); in getLVForLocalDecl()
1481 if (D->getASTContext().getLangOpts().CPlusPlus) in computeLVForDecl()
1591 const LangOptions &Opts = D->getASTContext().getLangOpts(); in getLVForDecl()
1619 return getLVForDecl(D, D->getASTContext().getLangOpts().IgnoreXCOFFVisibility in getDeclLinkageAndVisibility()
1665 printName(OS, getASTContext().getPrintingPolicy()); in printName()
1671 printQualifiedName(OS, getASTContext().getPrintingPolicy()); in getQualifiedNameAsString()
1676 printQualifiedName(OS, getASTContext().getPrintingPolicy()); in printQualifiedName()
1703 printNestedNameSpecifier(OS, getASTContext().getPrintingPolicy()); in printNestedNameSpecifier()
1867 ASTContext &Context = getASTContext(); in declarationReplaces()
1873 ASTContext &Context = getASTContext(); in declarationReplaces()
1989 DeclInfo = new (getASTContext()) ExtInfo; in setQualifierInfo()
2008 DeclInfo = new (getASTContext()) ExtInfo; in setTrailingRequiresClause()
2024 DeclInfo = new (getASTContext()) ExtInfo; in setTemplateParameterListsInfo()
2154 !(getASTContext().getLangOpts().OpenMPUseTLS && in getTLSKind()
2155 getASTContext().getTargetInfo().isTLSSupported() && in getTLSKind()
2158 return ((getASTContext().getLangOpts().isCompatibleWithMSVC( in getTLSKind()
2192 if (!D.getASTContext().getLangOpts().CPlusPlus) in getDeclLanguageLinkage()
2216 assert(D.getASTContext().getLangOpts().CPlusPlus); in isDeclExternC()
2401 Eval->Value.isOffset() ? getASTContext().getExternalSource() : nullptr)); in getInit()
2406 return ES->Value.getAddressOfPointer(getASTContext().getExternalSource()); in getInitAddress()
2445 getASTContext().Deallocate(Eval); in setInit()
2529 Eval = new (getASTContext()) EvaluatedStmt; in ensureEvaluatedStmt()
2565 ASTContext &Ctx = getASTContext(); in evaluateValueImpl()
2617 if (hasGlobalStorage() && !getASTContext().getLangOpts().CPlusPlus && in hasConstantInitialization()
2637 assert((getASTContext().getLangOpts().CPlusPlus || in checkForConstantInitialization()
2638 getASTContext().getLangOpts().C23) && in checkForConstantInitialization()
2780 return getASTContext().getTemplateOrSpecializationInfo(this) in getDescribedVarTemplate()
2785 getASTContext().setTemplateOrSpecializationInfo(this, Template); in setDescribedVarTemplate()
2789 const auto &LangOpts = getASTContext().getLangOpts(); in isKnownToBeDefined()
2863 return getASTContext().getTemplateOrSpecializationInfo(this) in getMemberSpecializationInfo()
2881 if (ASTMutationListener *L = getASTContext().getASTMutationListener()) in setTemplateSpecializationKind()
2889 if (ASTMutationListener *L = getASTContext().getASTMutationListener()) in setTemplateSpecializationKind()
2898 assert(getASTContext().getTemplateOrSpecializationInfo(this).isNull() && in setInstantiationOfStaticDataMember()
2900 getASTContext().setInstantiatedFromStaticDataMember(this, VD, TSK); in setInstantiationOfStaticDataMember()
2948 return getASTContext().getLangOpts().ObjCAutoRefCount; in isDestroyedInCallee()
3017 getASTContext().setParameterIndex(this, parameterIndex); in setParameterIndexLarge()
3022 return getASTContext().getParameterIndex(this); in getParameterIndexLarge()
3127 getASTContext(), /*Lookups=*/{}, Message)); in setDeletedAsWritten()
3235 return Definition->Body.get(getASTContext().getExternalSource()); in getBody()
3302 !tunit->getASTContext().getLangOpts().Freestanding && in isMain()
3316 if (!TUnit->getASTContext().getTargetInfo().getTriple().isOSMSVCRT()) in isMSVCRTEntryPoint()
3351 ->getASTContext(); in isReservedGlobalPlacementOperator()
3386 const ASTContext &Ctx = getASTContext(); in isReplaceableGlobalAllocationFunction()
3453 ASTContext &Context = getASTContext(); in isInlineBuiltinDeclaration()
3644 const ASTContext &Context = getASTContext(); in getBuiltinID()
3706 if (!getASTContext().getLangOpts().CPlusPlus) in getMinRequiredArguments()
3752 const ASTContext &Context = getASTContext(); in isMSExternInline()
3803 const ASTContext &Context = getASTContext(); in doesDeclarationForceExternallyVisibleDefinition()
3871 const SourceManager &SM = getASTContext().getSourceManager(); in getReturnTypeSourceRange()
3924 ASTContext &Context = getASTContext(); in isInlineDefinitionExternallyVisible()
4335 if (ASTMutationListener *L = getASTContext().getASTMutationListener()) in setTemplateSpecializationKind()
4345 if (ASTMutationListener *L = getASTContext().getASTMutationListener()) in setTemplateSpecializationKind()
4568 InitPtr.isOffset() ? InitPtr.get(getASTContext().getExternalSource()) in getInClassInitializer()
4734 new (getASTContext()) struct CXXRecordDecl::DefinitionData(D); in startDefinition()
4779 TypedefNameDeclOrQualifier = new (getASTContext()) ExtInfo; in setQualifierInfo()
4786 getASTContext().Deallocate(getExtInfo()); in setQualifierInfo()
4805 getASTContext().getTagDeclType(this).print(OS, Copy); in printName()
4818 TypedefNameDeclOrQualifier = new (getASTContext()) ExtInfo; in setTemplateParameterListsInfo()
4966 unsigned Bitwidth = getASTContext().getIntWidth(getIntegerType()); in getValueRange()
5043 addAttr(CapturedRecordAttr::CreateImplicit(getASTContext())); in setCapturedRecord()
5077 ASTContext &Ctx = getASTContext(); in completeDefinition()
5105 ExternalASTSource *Source = getASTContext().getExternalSource(); in LoadFieldsFromExternalStorage()
5136 ASTContext &Context = getASTContext(); in mayInsertExtraPadding()
5227 ParamInfo = new (getASTContext()) ParmVarDecl*[NewParamInfo.size()]; in setParams()
5349 char *Buffer = new (getASTContext(), 1) char[Name.size() + 1]; in setMSAsmLabel()
5529 SourceManager &SM = getASTContext().getSourceManager(); in isTransparentTagSlow()