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