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:
15630a4
)
[flang] fix error message typo
author
Jean Perier
<jperier@nvidia.com>
Thu, 23 May 2019 09:09:58 +0000
(
02:09
-0700)
committer
Jean Perier
<jperier@nvidia.com>
Thu, 23 May 2019 09:09:58 +0000
(
02:09
-0700)
Original-commit: flang-compiler/f18@
049163e0d4d3f65f5b30213716ac5c087ffe2053
Reviewed-on: https://github.com/flang-compiler/f18/pull/469
Tree-same-pre-rewrite: false
flang/lib/evaluate/fold.cc
patch
|
blob
|
history
diff --git
a/flang/lib/evaluate/fold.cc
b/flang/lib/evaluate/fold.cc
index 62c0da4fc692f0630b03e6173ed6f4cc9a4df7a3..97af7e443de3734654d90d78f656fc9cb277289f 100644
(file)
--- a/
flang/lib/evaluate/fold.cc
+++ b/
flang/lib/evaluate/fold.cc
@@
-820,7
+820,7
@@
static std::optional<Expr<T>> GetParameterValue(
std::stringstream ss;
unwrapped->AsFortran(ss);
context.messages().Say(symbol->name(),
- "Initialization expression for PARAMETER '%s' (%s) cannot computed as a constant value"_err_en_US,
+ "Initialization expression for PARAMETER '%s' (%s) cannot
be
computed as a constant value"_err_en_US,
symbol->name(), ss.str());
}
} else {