Andrew Kelley via llvm-dev
2017-Nov-30 04:20 UTC
[llvm-dev] libclang API to access static array initializer
In this C code: static const int array[2] = {1, 2}; Parsed with libclang, we get a VarDecl. evaluateValue() returns NULL. However the initialization value should be known. How can I access the array information using the libclang API? Regards, Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171129/b8560907/attachment.html>