[PATCH] D61281: [clang-format] Fixed self assignment

Dávid Bolvanský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 14 12:43:10 PDT 2019


xbolva00 updated this revision to Diff 199494.
xbolva00 added a comment.

removed line


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.199494.patch
Type: text/x-patch
Size: 471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190514/a5938902/attachment-0001.bin>


More information about the cfe-commits mailing list