diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-22 10:16:15 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-22 10:16:15 +0000 |
commit | 7107d360db751aa974285ae2136aed76b6691b86 (patch) | |
tree | 309c912dd3ea221fd502857b4e3e0ac070711b14 | |
parent | dc7c5ad7a15914b7ae24f31f18a20ad2f8ecd0bc (diff) |
Add a missing forward declaration and namespace qualifier to this
header. This showed up in client code that has a different include
ordering after Chris's shuffle of raw_ostream. All of the Clang code
ends up with a header included before this one that provides the needed
type and using declaration.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135765 91177308-0d34-0410-b5e6-96231b3b80d8
-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 |