[clang-format] Remove unnecessary non-null check and assert instead. NFC.
authorMarek Kurdej <marek.kurdej+llvm.org@gmail.com>
Thu, 3 Feb 2022 08:49:49 +0000 (09:49 +0100)
committerMarek Kurdej <marek.kurdej+llvm.org@gmail.com>
Thu, 3 Feb 2022 08:50:36 +0000 (09:50 +0100)
commitbb1b53da6eeb90d3c101719f569abce1d689a959
tree99324127cfb30136725952282dd5209e16d199ad
parent7a9e3ef77a3c4dc1cffb8ae768db6207fdab1877
[clang-format] Remove unnecessary non-null check and assert instead. NFC.

After a non-eof token, there is at least an eof token.
clang/lib/Format/UnwrappedLineParser.cpp