Add fast preprocessing mode
This commit is contained in:
parent
bd4db2ce80
commit
8c426ac115
7 changed files with 442 additions and 244 deletions
|
|
@ -110,7 +110,7 @@ TEST_CASE("stdlib", "[!hide][integration]")
|
|||
REQUIRE(!parser.error());
|
||||
REQUIRE(file);
|
||||
|
||||
resolve_includes(parser, file.value(), config);
|
||||
REQUIRE(resolve_includes(parser, file.value(), config) == 62);
|
||||
REQUIRE(!parser.error());
|
||||
}
|
||||
|
||||
|
|
@ -125,6 +125,7 @@ TEST_CASE("cppast", "[!hide][integration]")
|
|||
|
||||
libclang_compilation_database database("../");
|
||||
libclang_compile_config config(database, CPPAST_INTEGRATION_FILE);
|
||||
config.fast_preprocessing(true);
|
||||
parse_files(parser, files, config);
|
||||
|
||||
REQUIRE(!parser.error());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue