Searched refs:UsedFn (Results 1 – 2 of 2) 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()
172 const FunctionDecl *UsedFn = dyn_cast<FunctionDecl>(D); in diagnoseUseOfInternalDeclInInlineFunction() local174 if (!DowngradeWarning && UsedFn) in diagnoseUseOfInternalDeclInInlineFunction()175 DowngradeWarning = UsedFn->isInlined() || UsedFn->hasAttr<ConstAttr>(); in diagnoseUseOfInternalDeclInInlineFunction()179 << /*IsVar=*/!UsedFn << D; in diagnoseUseOfInternalDeclInInlineFunction()