Searched refs:UsedFn (Results 1 – 1 of 1) sorted by relevance
279 const FunctionDecl *UsedFn = dyn_cast<FunctionDecl>(D); in diagnoseUseOfInternalDeclInInlineFunction() local281 if (!DowngradeWarning && UsedFn) in diagnoseUseOfInternalDeclInInlineFunction()282 DowngradeWarning = UsedFn->isInlined() || UsedFn->hasAttr<ConstAttr>(); in diagnoseUseOfInternalDeclInInlineFunction()286 << /*IsVar=*/!UsedFn << D; in diagnoseUseOfInternalDeclInInlineFunction()