[LLVMdev] User Defined Functions

Eli Friedman eli.friedman at gmail.com
Mon Nov 5 12:31:13 PST 2012


On Mon, Nov 5, 2012 at 11:55 AM, sunil rathee <ratheesuniljec at gmail.com> wrote:
>
> Hi,
> Can we check whether a given funcion is user defined or not?

Do you mean the C++ "user-provided"?  The clang AST store that
information (CXXMethodDecl::isUserProvided()), but the IR doesn't.

Or do you mean something else?

-Eli



More information about the llvm-dev mailing list