For (1) on my Linux
clang -cc1 -help
shows options of the compiler proper including ast-dump but I didn't get
syntax-only.
Nigel
From: cfe-users On Behalf Of Ray Mitchell
via cfe-users
Sent: 26 March 2021 00:25
To: cfe-users@lists.llvm.org
Subject: [cfe-users] Some basic AST file gener
Win10-64, clang v11.0.0, VS2019
When I enter "clang.exe -help" from the command line I get a long list of clang
options, and one of them is "-Xclang ". Thanks to previous help from a
member of the cfe-users digest, I am able to do "clang.exe -Xclang -ast-dump
-fsyntax-only SourceFile.c" to get