diff --git a/clang/lib/Format/FormatTokenLexer.cpp b/clang/lib/Format/FormatTokenLexer.cpp index 3a1dcef7d43b..c12daa7f20e9 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; }