Add simple command line tool to view the AST

This commit is contained in:
Jonathan Müller 2017-04-10 19:57:06 +02:00
commit 01b206d453
7 changed files with 358 additions and 60 deletions

View file

@ -58,8 +58,7 @@ libclang_compile_config::libclang_compile_config() : compile_config({})
add_include_dir(CPPAST_LIBCLANG_SYSTEM_INCLUDE_DIR);
}
void libclang_compile_config::do_set_flags(cpp_standard standard,
type_safe::flag_set<compile_flag> flags)
void libclang_compile_config::do_set_flags(cpp_standard standard, compile_flags flags)
{
switch (standard)
{