CppAst.NET icon indicating copy to clipboard operation
CppAst.NET copied to clipboard

CppAst is a .NET library providing a C/C++ parser for header files powered by Clang/libclang with access to the full AST, comments and macros

Results 31 CppAst.NET issues
Sort by recently updated
recently updated
newest added

I'd appreciate it for the project's informative and categorical documentations. Unfortunately, some of the docs seem inaccurate. [CppAst.NET type-system](https://github.com/xoofx/CppAst.NET/blob/main/doc/readme.md#type-system) gives a clarified description of the possible variants of `CppType`s, but...

question

I try to parse DirectX headers and parser doesn't handle `uuid` attribute if it is defined by macro: ``` MIDL_INTERFACE("9d06dffa-d1e5-4d07-83a8-1bb123f2f841") ID3D11Device2 : public ID3D11Device1 ``` As a workaround, replacing MIDL_INTERFACE...

bug

> C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\include\yvals_core.h(551, 2): error: STL1000: Unexpected compiler version, expected Clang 11.0.0 or newer. I have Visual Studio 2019 Version 16.11.2 installed and when I try to...

Hello, if the parser option ParseAsCpp is set to false, the compilation is always returned empty regardless of the input files or texts. Is Parsing as C not supported?

question

I am developing a small preprocessor for a [game engine](https://github.com/Rythe-Interactive/Rythe-Engine) that I am working on with some friends, and we are using CppAST.Net in the preprocessor to autogenerate some files...

Hi, Consider the following code: class TemplateTesterClass { public: TestTemplate a; TestNamespace::TestTemplate2 b; }; Field 'a' is parsed correctly, its type is fully available by using the Type.GetDisplayName() I get...

question

I'm working with custom attributes for a serializer, and for readability purposes I'd like to have attributes on the line before the function the attribute is for, eg: ``` [[test::attr]]...

bug
PR Welcome

https://github.com/xoofx/CppAst.NET/blob/6c262241d4f37a952189bac5dd2be87c26ab672b/src/CppAst/CppParser.cs#L117-L121

question

Let's say I have the following code ``` template class MyTemplateClass { .... }; typedef unsigned int MyInt; typedef ::MyTemplateClass MyCharClass; typedef ::MyTemplateClass MyMyIntClass; class MyTestClass { void TestMethod1(::MyInt param);...

question

Does this library supports parsing user-defined C++11 attributes? I was hoping to annotate some of my C++ code with them and generate C# bindings from classes with specific attributes. I...

enhancement
PR Welcome