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

周书林 via cfe-dev cfe-dev at lists.llvm.org
Wed May 4 17:57:03 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/20160505/8b4f94a9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Mint-compile_commands.json
Type: application/json
Size: 353 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160505/8b4f94a9/attachment.json>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Osx-compile_commands.json
Type: application/json
Size: 638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160505/8b4f94a9/attachment-0001.json>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Parsed-AST.png
Type: image/png
Size: 96003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160505/8b4f94a9/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/20160505/8b4f94a9/attachment-0001.png>


More information about the cfe-dev mailing list