commit | 881227d860c59471eee31d39946e96ce2daa35d6 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Tue Aug 02 14:20:21 2016 -0700 |
committer | Iliyan Malchev <malchev@google.com> | Sat Aug 06 09:02:59 2016 -0700 |
tree | e590a087af1a19117dce311885091e96f6a08e76 | |
parent | 6e584b70065ce37615980aba5ed60d27a54da1c3 [diff] [blame] |
generate C++ interface header, proxy and stub headers and sources.
diff --git a/main.cpp b/main.cpp index 0bada61..b881589 100644 --- a/main.cpp +++ b/main.cpp
@@ -25,10 +25,7 @@ CHECK(fqName.isValid() && fqName.isFullyQualified()); AST *ast = coordinator.parse(fqName); - - if (ast == NULL) { - continue; - } + CHECK(ast != NULL); Formatter out; @@ -36,6 +33,8 @@ ast->dump(out); + ast->generateCpp(); + delete ast; ast = NULL; }