[clang] [clang] Support member function poiners in Decl::getFunctionType() (PR #125077)

Benjamin Maxwell via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 31 03:24:33 PST 2025


MacDue wrote:

> Maybe the description here should more explicitly state that it looks for function pointers as well as functions...
> 
> >

Good idea :+1: I've attempted to clarify what this function does now (in the doc comment).


> Probably we should fix the error message not to mention K&R unless we actually find a K&R-style function type.


I agree, but I think that can be done it a later patch.

https://github.com/llvm/llvm-project/pull/125077


More information about the cfe-commits mailing list