[cfe-users] Some basic AST file generation questions

2021-03-25 Thread Ray Mitchell via cfe-users
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

[cfe-users] clang-format "ContinuationIndentWidth: 3" format style not working?

2018-03-02 Thread Ray Mitchell via cfe-users
Hello, I am currently using the following format style options with clang-format v6.0.0: --- Language:Cpp TabWidth: 3 IndentWidth: 3 ContinuationIndentWidth: 3 IndentCaseLabels: false BreakBeforeBraces: Custom BraceWrapping: AfterClass: true AfterControlStatement: true AfterEnum: t

[cfe-users] Format of AST entries?

2018-02-20 Thread Ray Mitchell via cfe-users
I am attempting to do some basic parsing of the AST using C#. So far I've had success extracting a few things simply by writing some test C++ code, generating an AST for it, making some changes, regenerating an AST, and observing what changes in the AST entries. However, this empirical approac

[cfe-users] clang-format -style=file fails

2018-02-17 Thread Ray Mitchell via cfe-users
I'm trying to configure a custom style options file for clang-format v6.0.0 running on Windows 10 Pro 64-bit. I started out by generating a configuration file based upon the llvm style using the following command line, which worked fine: clang-format -style=llvm -dump-config > .clang-format

[cfe-users] Suppress header file information in AST; also, function prototypes vs definitions

2017-11-04 Thread Ray Mitchell via cfe-users
Title: Suppress header file information in AST; also, function prototypes vs definitions I'm using clang 3.7 and am currently generating an AST for my test.c file with the following Windows 10 command line:   clang -Xclang -ast-dump -fsyntax-only test.c 1. Is there any option that will suppress

Re: [cfe-users] cfe-users Digest, Vol 55, Issue 3 - Re: Missing header files in AST display

2017-08-03 Thread Ray Mitchell via cfe-users
nd a > certain header in a certain path, because with the current information > it's hard to say what exactly is going wrong. > - Raphael > 2017-08-02 20:07 GMT+02:00 Ray Mitchell via cfe-users > <cfe-users@lists.llvm.org>: >> I can currently successfully compile a

[cfe-users] Missing header files in AST display

2017-08-02 Thread Ray Mitchell via cfe-users
Title: Missing header files in AST display I can currently successfully compile and link C and C++ code on my Windows 10 system but I would also like to be able to separately generate the AST for each file.  The command line below does display much of the AST but it contains errors regarding miss

[cfe-users] Header errors using Clang

2016-07-29 Thread Ray Mitchell via cfe-users
I just installed the 64-bit versions of Clang 3.8.1 and MinGW 5.1.0 on my 64-bit Windows 10 system. Everything seemed to install fine but I'm getting lots of errors, not warnings, on the contents of the standard header files. I first set my INCLUDE path to where my Microsoft VS 2015 headers are