cppast icon indicating copy to clipboard operation
cppast copied to clipboard

Library to parse and work with the C++ AST

Results 37 cppast issues
Sort by recently updated
recently updated
newest added

* cppast version: latest * parser: `libclang_parser` * clang version: 15.0.7 Explanation of the error: Consider parsing: https://github.com/foonathan/cppast/blob/f00df6675d87c6983033d270728c57a55cd3db22/include/cppast/code_generator.hpp#L30-L32 Input: ```cpp std::string _cppastRootPath = CPPAST_SOURCE_DIR + std::string("/"); std::string _cppastBuildPath = CMAKE_BINARY_DIR...

* cppast version: latest * parser: `libclang_parser` * clang version: `15.0.7` Explanation of the error. Input: ```cpp namespace ns { template struct Test1 { template struct Test2 { }; };...

* cppast version: e5fa6b7ef * parser: `libclang_parser` * clang version: 14.0.0 Hi Jonathan, thanks for making such a great library. I'm trying to get it running with my code base,...

cant-reproduce

### Use Case We would like to create a static analysis tool which takes the command line as input and uses this library to parse the AST for analysis. Cppast...

Hey guys, I need to parse all C++ methods - their names, parameters, and actual code - to generate personal docs. But you know how C++ works: declarations in .hpp...

This PR improves C++ language detection by analyzing compiler arguments. Before my PR, the language was detected by checking if "++" existed in the compiler name. This approach is incorrect...

The title pretty much says it all. When I tried to build cppast using the clang compiler with the msvc frontend, I got an error about incorrectly defined compiler flags....