aboutsummaryrefslogtreecommitdiff
path: root/include/clang/AST/TextNodeDumper.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/AST/TextNodeDumper.h')
-rw-r--r--include/clang/AST/TextNodeDumper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/AST/TextNodeDumper.h b/include/clang/AST/TextNodeDumper.h
index ddf548e418..2c3cc7294c 100644
--- a/include/clang/AST/TextNodeDumper.h
+++ b/include/clang/AST/TextNodeDumper.h
@@ -160,7 +160,7 @@ public:
void dumpAccessSpecifier(AccessSpecifier AS);
void dumpCXXTemporary(const CXXTemporary *Temporary);
- void dumpDeclRef(const Decl *D, const char *Label = nullptr);
+ void dumpDeclRef(const Decl *D, StringRef Label = {});
void visitTextComment(const comments::TextComment *C,
const comments::FullComment *);