r360810 - [clang-format] Fixed self assignment
David Bolvansky via cfe-commits
cfe-commits at lists.llvm.org
Wed May 15 13:29:33 PDT 2019
Author: xbolva00
Date: Wed May 15 13:29:33 2019
New Revision: 360810
URL: http://llvm.org/viewvc/llvm-project?rev=360810&view=rev
Log:
[clang-format] Fixed self assignment
Reviewers: MyDeveloperDay, RKSimon
Reviewed By: MyDeveloperDay
Subscribers: RKSimon, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D61281
Modified:
cfe/trunk/lib/Format/FormatTokenLexer.cpp
Modified: cfe/trunk/lib/Format/FormatTokenLexer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/FormatTokenLexer.cpp?rev=360810&r1=360809&r2=360810&view=diff
==============================================================================
--- cfe/trunk/lib/Format/FormatTokenLexer.cpp (original)
+++ cfe/trunk/lib/Format/FormatTokenLexer.cpp Wed May 15 13:29:33 2019
@@ -246,7 +246,6 @@ bool FormatTokenLexer::tryMergeCSharpNul
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;
}
More information about the cfe-commits
mailing list