diff options
author | Brad King <brad.king@kitware.com> | 2014-04-09 18:55:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-04-09 20:44:12 (GMT) |
commit | 56465b5cda39e39676b66d26372c4767dd92ae3b (patch) | |
tree | 7d7785e2cfb1dfd983d9e19f13189accfcc59fc8 /src/Output.h | |
parent | 400ddd7f60e02ffc85db7507475dab36e5544b9d (diff) | |
download | CastXML-56465b5cda39e39676b66d26372c4767dd92ae3b.zip CastXML-56465b5cda39e39676b66d26372c4767dd92ae3b.tar.gz CastXML-56465b5cda39e39676b66d26372c4767dd92ae3b.tar.bz2 |
Output: Pass full Options struct to our ASTVisitor
Pass the full structure instead of just the StartNames field.
We may need information about other options later.
Diffstat (limited to 'src/Output.h')
-rw-r--r-- | src/Output.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Output.h b/src/Output.h index 1391dba..5314916 100644 --- a/src/Output.h +++ b/src/Output.h @@ -17,8 +17,6 @@ #define CASTXML_OUTPUT_H #include <cxsys/Configure.hxx> -#include <string> -#include <vector> namespace llvm { class raw_ostream; @@ -29,10 +27,12 @@ namespace clang { class ASTContext; } +struct Options; + /// outputXML - Print a gccxml-compatible AST dump. void outputXML(clang::CompilerInstance& ci, clang::ASTContext const& ctx, llvm::raw_ostream& os, - std::vector<std::string> const& startNames); + Options const& opts); #endif // CASTXML_OUTPUT_H |