summaryrefslogtreecommitdiffstats
path: root/src/Output.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-04-09 18:55:18 (GMT)
committerBrad King <brad.king@kitware.com>2014-04-09 20:44:12 (GMT)
commit56465b5cda39e39676b66d26372c4767dd92ae3b (patch)
tree7d7785e2cfb1dfd983d9e19f13189accfcc59fc8 /src/Output.h
parent400ddd7f60e02ffc85db7507475dab36e5544b9d (diff)
downloadCastXML-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.h6
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