Home
last modified time | relevance | path

Searched refs:DowngradeWarning (Results 1 – 1 of 1) sorted by relevance

/external/clang/lib/Sema/
DSemaExpr.cpp280 bool DowngradeWarning = S.getSourceManager().isInMainFile(Loc); in diagnoseUseOfInternalDeclInInlineFunction() local
281 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()