summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format
diff options
context:
space:
mode:
authorDavid Bolvansky <david.bolvansky@gmail.com>2019-05-15 20:29:33 +0000
committerDavid Bolvansky <david.bolvansky@gmail.com>2019-05-15 20:29:33 +0000
commiteef2060bd9c55aeef2645df9e101fdd7dd3e8bc0 (patch)
tree3ff90e8daefab782f12680a5d73834a0bf7f4144 /clang/lib/Format
parent9392bd69879678de484a22deccd9c7e0d84232c5 (diff)
downloadbcm5719-llvm-eef2060bd9c55aeef2645df9e101fdd7dd3e8bc0.tar.gz
bcm5719-llvm-eef2060bd9c55aeef2645df9e101fdd7dd3e8bc0.zip
[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
Diffstat (limited to 'clang/lib/Format')
-rw-r--r--clang/lib/Format/FormatTokenLexer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Format/FormatTokenLexer.cpp b/clang/lib/Format/FormatTokenLexer.cpp
index 3a1dcef7d43..c12daa7f20e 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;
}
OpenPOWER on IntegriCloud