Without this, the combination of -ast-dump=json and -ast-dump-filter FILTER produces invalid JSON: the first line is a string that says Dumping $SOME_DECL_NAME: .
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Updated the AST dump tests for JSON to refute the presence of the Dumping prefix.
Also, updated the gen_ast_dump_json_test.py generator to work with Python 3 and to behave better without the presence of the Dumping: sentinels.
Comment Actions
@woodruffw Please rebase the patch. clang/test/AST/ast-dump-if-json.cpp testcase is not applying cleanly. If you don't commit access, I can commit on your behalf. Thanks.