[clangd-dev] How to identify a Clang QualType is a function pointer?

Mustakimur Rahman Khandaker (Mustakim) via clangd-dev clangd-dev at lists.llvm.org
Wed Sep 12 06:54:51 PDT 2018

I am trying to identify a function pointer connected to any expression. I am working in Clang code. Assume, I know the QualType of the value, and now want to know if the value is originally a function pointer type, not any other. Like I want to distinguish between void (*)() and int *. Can anyone suggest what functionality (standard, not want to use getAsString and parse it) I can use?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/clangd-dev/attachments/20180912/0b2a968f/attachment.html>

More information about the clangd-dev mailing list