Hi, Can we check whether a given funcion is user defined or not? -- Sunil Rathee MTech IIT Delhi Not going along with the crowd can help you stand out in the crowd -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121106/8d56dd24/attachment.html>
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