projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d28adc2
)
[flang] correct typo in unparse.cc found in test
author
peter klausler
<pklausler@nvidia.com>
Wed, 11 Jul 2018 15:35:18 +0000
(08:35 -0700)
committer
peter klausler
<pklausler@nvidia.com>
Wed, 11 Jul 2018 17:21:35 +0000
(10:21 -0700)
Original-commit: flang-compiler/f18@
1aa60cccc4f0a56802551d2ecae8eba4f5ed668b
Reviewed-on: https://github.com/flang-compiler/f18/pull/119
Tree-same-pre-rewrite: false
flang/lib/parser/unparse.cc
patch
|
blob
|
history
diff --git
a/flang/lib/parser/unparse.cc
b/flang/lib/parser/unparse.cc
index
8bbb5b7
..
59306ed
100644
(file)
--- a/
flang/lib/parser/unparse.cc
+++ b/
flang/lib/parser/unparse.cc
@@
-290,7
+290,7
@@
public:
void Unparse(const Pass &x) { Word("PASS"), Walk("(", x.v, ")"); }
void Unparse(const Initialization &x) { // R743 & R805
std::visit(
- common::visitors{[&](const ConstantExpr &y) { Put("
{
"), Walk(y); },
+ common::visitors{[&](const ConstantExpr &y) { Put("
=
"), Walk(y); },
[&](const NullInit &y) { Put(" => "), Walk(y); },
[&](const InitialDataTarget &y) { Put(" => "), Walk(y); },
[&](const std::list<common::Indirection<DataStmtValue>> &y) {