xbolva00 created this revision.
xbolva00 added a reviewer: MyDeveloperDay.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Repository:
rC Clang
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,7 @@
StringRef(Identifier->TokenText.begin(),
Question->TokenText.end() - Identifier->TokenText.begin());
Identifier->ColumnWidth += Question->ColumnWidth;
- Identifier->Type = Identifier->Type;
+ Identifier->Type = Question->Type;
Tokens.erase(Tokens.end() - 1);
return true;
}
Index: lib/Format/FormatTokenLexer.cpp
===================================================================
--- lib/Format/FormatTokenLexer.cpp
+++ lib/Format/FormatTokenLexer.cpp
@@ -246,7 +246,7 @@
StringRef(Identifier->TokenText.begin(),
Question->TokenText.end() - Identifier->TokenText.begin());
Identifier->ColumnWidth += Question->ColumnWidth;
- Identifier->Type = Identifier->Type;
+ Identifier->Type = Question->Type;
Tokens.erase(Tokens.end() - 1);
return true;
}
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits