diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-11-12 18:40:12 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-11-12 18:40:12 +0000 |
commit | ad5757f798b08f24942f093c4ac8b9fc2b527d39 (patch) | |
tree | 5a35ecc3e68ee91eed5ee50ceeefecbaa81f6dec /include/clang/Sema/CodeCompleteConsumer.h | |
parent | caddba07f82096ee0d0a0312727d4418ee7a8d36 (diff) |
Spell empty StringRef correctly (0 is a null StringRef, which is not the same).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@87011 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Sema/CodeCompleteConsumer.h')
-rw-r--r-- | include/clang/Sema/CodeCompleteConsumer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Sema/CodeCompleteConsumer.h b/include/clang/Sema/CodeCompleteConsumer.h index 9bbf11b162..c436b398f9 100644 --- a/include/clang/Sema/CodeCompleteConsumer.h +++ b/include/clang/Sema/CodeCompleteConsumer.h @@ -106,7 +106,7 @@ public: Chunk() : Kind(CK_Text), Text(0) { } - Chunk(ChunkKind Kind, llvm::StringRef Text = 0); + Chunk(ChunkKind Kind, llvm::StringRef Text = ""); /// \brief Create a new text chunk. static Chunk CreateText(const char *Text); |