From eef2060bd9c55aeef2645df9e101fdd7dd3e8bc0 Mon Sep 17 00:00:00 2001 From: David Bolvansky Date: Wed, 15 May 2019 20:29:33 +0000 Subject: [PATCH] [clang-format] Fixed self assignment Reviewers: MyDeveloperDay, RKSimon Reviewed By: MyDeveloperDay Subscribers: RKSimon, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D61281 llvm-svn: 360810 --- clang/lib/Format/FormatTokenLexer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/clang/lib/Format/FormatTokenLexer.cpp b/clang/lib/Format/FormatTokenLexer.cpp index 3a1dcef..c12daa7 100644 --- a/clang/lib/Format/FormatTokenLexer.cpp +++ b/clang/lib/Format/FormatTokenLexer.cpp @@ -246,7 +246,6 @@ bool FormatTokenLexer::tryMergeCSharpNullConditionals() { StringRef(Identifier->TokenText.begin(), Question->TokenText.end() - Identifier->TokenText.begin()); Identifier->ColumnWidth += Question->ColumnWidth; - Identifier->Type = Identifier->Type; Tokens.erase(Tokens.end() - 1); return true; } -- 2.7.4