[PATCH] D61281: [clang-format] Fixed self assignment
Dávid Bolvanský via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed May 15 13:26:59 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rC360810: [clang-format] Fixed self assignment (authored by xbolva00, committed by ).
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61281/new/
https://reviews.llvm.org/D61281
Files:
lib/Format/FormatTokenLexer.cpp
Index: lib/Format/FormatTokenLexer.cpp
===================================================================
--- lib/Format/FormatTokenLexer.cpp
+++ lib/Format/FormatTokenLexer.cpp
@@ -246,7 +246,6 @@
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;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61281.199672.patch
Type: text/x-patch
Size: 471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190515/618c035d/attachment-0001.bin>
More information about the cfe-commits
mailing list