]> granicus.if.org Git - clang/commit
[clang-format] Fix -Wconversion-null warning in GCC
authorReuben Thomas <reuben.thomas@me.com>
Mon, 15 Apr 2019 20:13:20 +0000 (20:13 +0000)
committerReuben Thomas <reuben.thomas@me.com>
Mon, 15 Apr 2019 20:13:20 +0000 (20:13 +0000)
commit5bb4348faf4dd02076b0e8e2d462910052fe8972
tree98804a4b71df8a33c892e841001e2b4494d9d7ee
parent471eb8155dddc9592c4ddfbb2d25863e3820dd39
[clang-format] Fix -Wconversion-null warning in GCC

GCC -Wconversion-null warning appeared after 9a63380260860b657b72f07c4f0e61e382ab934a.
There was a similar problem already in the past:
http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20131230/096230.html

Patch committed on behalf of @dendibakh

Differential Revision: https://reviews.llvm.org/D60726

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358441 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/Format/FormatTest.cpp