[cfe-dev] Why can't I parse the whole AST?

周书林 via cfe-dev cfe-dev at lists.llvm.org
Wed May 4 06:30:45 PDT 2016


In osx 10.11, I can compile the postfix-3.0.3 and dump the whole AST of
src/global/mail_params.c with clang-check.
But in Linux Mint 17.2, I can compile the postfix-3.0.3 and produce the
compile_commands.json, but when use clang-check to dump the same source
file, some error occurred. And in the parsed AST, some sub-tree also is
empty. For example, Parsed-AST.png and Unparsed-AST.png in attachments.
Why did this happen?
Sincerely hope for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160504/82a50975/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Mint-compile_commands.json
Type: application/json
Size: 208185 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160504/82a50975/attachment.json>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osx-compile_commands.json
Type: application/json
Size: 369732 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160504/82a50975/attachment-0001.json>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Parsed-AST.png
Type: image/png
Size: 263222 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160504/82a50975/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Unparsed-AST.png
Type: image/png
Size: 54671 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160504/82a50975/attachment-0001.png>


More information about the cfe-dev mailing list