summaryrefslogtreecommitdiffstats
path: root/clang-query
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-06-09 02:03:06 +0000
committerCraig Topper <craig.topper@gmail.com>2014-06-09 02:03:06 +0000
commit0913826cddeb71f5cb78b345313897b0534e2030 (patch)
treefa59b1e44b2c0d941db80155cbe8bdd601226059 /clang-query
parentac560ec8cb8ae943afe2f10a954f70b146cd1cd6 (diff)
[C++11] Use 'nullptr'.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@210447 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'clang-query')
-rw-r--r--clang-query/QueryParser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-query/QueryParser.h b/clang-query/QueryParser.h
index 5ebeaf2c..0e5b5184 100644
--- a/clang-query/QueryParser.h
+++ b/clang-query/QueryParser.h
@@ -37,8 +37,8 @@ public:
private:
QueryParser(StringRef Line, const QuerySession &QS)
- : Begin(Line.data()), End(Line.data() + Line.size()), CompletionPos(0),
- QS(QS) {}
+ : Begin(Line.data()), End(Line.data() + Line.size()),
+ CompletionPos(nullptr), QS(QS) {}
StringRef lexWord();