cppast
cppast copied to clipboard
Library to parse and work with the C++ AST
* cppast version: latest one * parser: `libclang_parser` * clang version: 3.9.1+ Due to a libclang limitiation, the array size expression is not exposed. See #6 for more information.
* cppast version: latest one * parser: `libclang_parser` * clang version: 3.9.1+ The default value of a function parameter, template non type parameter and the initializer of a (member) variable...
* cppast version: latest one * parser: `libclang_parser` * clang version: 3.9.1+ The expression inside a `decltype()` will always be a `cpp_unexposed_expression` and the type of the expression is not...
* cppast version: latest one * parser: `libclang_parser` * clang version: 3.9.1+ The default type of a template type parameter is always unexposed, as there is no way to retrieve...
* cppast version: latest one * parser: `libclang_parser` * clang version: 3.9.1+ When having a pointer/reference to an array, the element type of the array will ignore typedefs and return...
* cppast version: latest one * parser: `libclang_parser` * clang version: 3.9.1+ An extern template will be treated as a (full) class template specialization. Input: ```cpp template struct foo {};...
Compiling cppast fails on Windows with: ``` %SRC_DIR%\src\libclang\libclang_parser.cpp(250): error C2664: 'TinyProcessLib::Process::Process(const std::vector &,const TinyProcessLib::Process::string_type &,std::function,std::function,bool,const TinyProcessLib::Config &) noexcept': cannot convert argument 1 from 'std::basic_string' to 'const std::vector &' %SRC_DIR%\src\libclang\libclang_parser.cpp(251): note:...
* cppast version: latest one * parser: `libclang_parser` * clang version: 13.0.0 Explanation of the error. Input: ```cpp template class Test { public: Test(const Test&) = delete; }; ``` The...
I think cppast has reached the end of its usefulness. * I have no longer a personal use case for cppast, so I am not motivated to spend my free...
* cppast version: main branch * parser: `libclang_parser` * clang version: 16.0.4 `simple_file_parser::parse` states: `\returns The parsed file or an empty optional, if a fatal error occurred.` https://github.com/foonathan/cppast/blob/main/include/cppast/parser.hpp#L110 It does...