diff options
-rw-r--r-- | include/clang/AST/PrettyPrinter.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/clang/AST/PrettyPrinter.h b/include/clang/AST/PrettyPrinter.h index a34c0d9556..fc8ac36b3b 100644 --- a/include/clang/AST/PrettyPrinter.h +++ b/include/clang/AST/PrettyPrinter.h @@ -16,6 +16,10 @@ #include "clang/Basic/LangOptions.h" +namespace llvm { + class raw_ostream; +} + namespace clang { class Stmt; @@ -25,7 +29,7 @@ class LangOptions; class PrinterHelper { public: virtual ~PrinterHelper(); - virtual bool handledStmt(Stmt* E, raw_ostream& OS) = 0; + virtual bool handledStmt(Stmt* E, llvm::raw_ostream& OS) = 0; }; /// \brief Describes how types, statements, expressions, and |