Lines Matching refs:getLangOpts

548   const LangOptions &Opts = D->getASTContext().getLangOpts();  in useInlineVisibilityHidden()
622 (Context.getLangOpts().C23 && Var && Var->isConstexpr())) { in getLVForNamespaceScopeDecl()
643 if (Context.getLangOpts().CPlusPlus && Var->getType().isConstQualified() && in getLVForNamespaceScopeDecl()
724 ? Context.getLangOpts().getValueVisibilityMode() in getLVForNamespaceScopeDecl()
725 : Context.getLangOpts().getTypeVisibilityMode(); in getLVForNamespaceScopeDecl()
774 if (Context.getLangOpts().CPlusPlus && !isFirstInExternCContext(Var) && in getLVForNamespaceScopeDecl()
810 if (Context.getLangOpts().OpenMP && in getLVForNamespaceScopeDecl()
811 Context.getLangOpts().OpenMPIsTargetDevice && in getLVForNamespaceScopeDecl()
825 if (Context.getLangOpts().CPlusPlus && !isFirstInExternCContext(Function)) { in getLVForNamespaceScopeDecl()
999 if (Context.getLangOpts().OpenMP && in getLVForClassMember()
1000 Context.getLangOpts().OpenMPIsTargetDevice && in getLVForClassMember()
1401 if (!Context.getLangOpts().CPlusPlus) in getLVForLocalDecl()
1427 !Context.getLangOpts().VisibilityInlinesHiddenStaticLocalVar) { in getLVForLocalDecl()
1437 ? Context.getLangOpts().getValueVisibilityMode() in getLVForLocalDecl()
1438 : Context.getLangOpts().getTypeVisibilityMode(); 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()
2154 !(getASTContext().getLangOpts().OpenMPUseTLS && 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()
2319 if (!C.getLangOpts().CPlusPlus && isFileVarDecl()) in isThisDeclarationADefinition()
2452 const LangOptions &Lang = C.getLangOpts(); in mightBeUsableInConstantExpressions()
2506 if ((Context.getLangOpts().CPlusPlus || getLangOpts().C23) && in isUsableInConstantExpressions()
2513 if ((Context.getLangOpts().CPlusPlus || Context.getLangOpts().OpenCL) && in isUsableInConstantExpressions()
2514 !Context.getLangOpts().CPlusPlus11 && !DefVD->hasICEInitializer(Context)) in isUsableInConstantExpressions()
2574 (Ctx.getLangOpts().CPlusPlus || in evaluateValueImpl()
2575 (isConstexpr() && Ctx.getLangOpts().C23)) && in evaluateValueImpl()
2617 if (hasGlobalStorage() && !getASTContext().getLangOpts().CPlusPlus && in hasConstantInitialization()
2637 assert((getASTContext().getLangOpts().CPlusPlus || in checkForConstantInitialization()
2638 getASTContext().getLangOpts().C23) && in checkForConstantInitialization()
2789 const auto &LangOpts = getASTContext().getLangOpts(); in isKnownToBeDefined()
2807 (!Ctx.getLangOpts().RegisterStaticDestructors && in isNoDestroy()
2948 return getASTContext().getLangOpts().ObjCAutoRefCount; in isDestroyedInCallee()
3302 !tunit->getASTContext().getLangOpts().Freestanding && in isMain()
3395 if (Ctx.getLangOpts().SizedDeallocation && in isReplaceableGlobalAllocationFunction()
3405 if (Ctx.getLangOpts().AlignedAllocation && !Ty.isNull() && Ty->isAlignValT()) { in isReplaceableGlobalAllocationFunction()
3658 if (Context.getLangOpts().OpenCL && in getBuiltinID()
3664 if (Context.getLangOpts().CUDA && hasAttr<CUDADeviceAttr>() && in getBuiltinID()
3673 Context.getLangOpts().OpenMPIsTargetDevice && in getBuiltinID()
3706 if (!getASTContext().getLangOpts().CPlusPlus) in getMinRequiredArguments()
3805 if (Context.getLangOpts().MSVCCompat) { in doesDeclarationForceExternallyVisibleDefinition()
3812 if (Context.getLangOpts().CPlusPlus) in doesDeclarationForceExternallyVisibleDefinition()
3815 if (Context.getLangOpts().GNUInline || hasAttr<GNUInlineAttr>()) { in doesDeclarationForceExternallyVisibleDefinition()
3926 if (Context.getLangOpts().GNUInline || hasAttr<GNUInlineAttr>()) { in isInlineDefinitionExternallyVisible()
3933 if (Context.getLangOpts().CPlusPlus) in isInlineDefinitionExternallyVisible()
3950 assert(!Context.getLangOpts().CPlusPlus && in isInlineDefinitionExternallyVisible()
4851 Enum->setMayHaveOutOfDateDef(C.getLangOpts().Modules); in Create()
4860 Enum->setMayHaveOutOfDateDef(C.getLangOpts().Modules); in CreateDeserialized()
5012 R->setMayHaveOutOfDateDef(C.getLangOpts().Modules); in Create()
5023 R->setMayHaveOutOfDateDef(C.getLangOpts().Modules); in CreateDeserialized()
5086 if (Ctx.getLangOpts().DumpRecordLayoutsComplete && !isDependentType() && in completeDefinition()
5095 return hasAttr<MSStructAttr>() || C.getLangOpts().MSBitfields == 1; in isMsStruct()
5137 const SanitizerMask EnabledAsanMask = Context.getLangOpts().Sanitize.Mask & in mayInsertExtraPadding()
5139 if (!EnabledAsanMask || !Context.getLangOpts().SanitizeAddressFieldPadding) in mayInsertExtraPadding()
5468 if (C.getLangOpts().CPlusPlus) in IndirectFieldDecl()
5594 assert(C.getLangOpts().IncrementalExtensions && in Create()