aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/NestedNameSpecifier.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/AST/NestedNameSpecifier.h')
-rw-r--r--include/clang/AST/NestedNameSpecifier.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/AST/NestedNameSpecifier.h b/include/clang/AST/NestedNameSpecifier.h
index 96eebe8be6..4eea1031f0 100644
--- a/include/clang/AST/NestedNameSpecifier.h
+++ b/include/clang/AST/NestedNameSpecifier.h
@@ -26,6 +26,7 @@ namespace clang {
class ASTContext;
class NamespaceDecl;
class IdentifierInfo;
+class PrintingPolicy;
class Type;
/// \brief Represents a C++ nested name specifier, such as
@@ -163,7 +164,7 @@ public:
/// \brief Print this nested name specifier to the given output
/// stream.
- void print(llvm::raw_ostream &OS) const;
+ void print(llvm::raw_ostream &OS, const PrintingPolicy &Policy) const;
void Profile(llvm::FoldingSetNodeID &ID) const {
ID.AddPointer(Prefix.getOpaqueValue());