Searched refs:DowngradeWarning (Results 1 – 1 of 1) sorted by relevance
280 bool DowngradeWarning = S.getSourceManager().isInMainFile(Loc); in diagnoseUseOfInternalDeclInInlineFunction() local281 if (!DowngradeWarning && UsedFn) in diagnoseUseOfInternalDeclInInlineFunction()282 DowngradeWarning = UsedFn->isInlined() || UsedFn->hasAttr<ConstAttr>(); in diagnoseUseOfInternalDeclInInlineFunction()284 S.Diag(Loc, DowngradeWarning ? diag::ext_internal_in_extern_inline_quiet in diagnoseUseOfInternalDeclInInlineFunction()