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:
b3a87d4
)
[flang] convert name to lowercase
author
Eric Schweitz
<eschweitz@nvidia.com>
Thu, 6 Sep 2018 22:03:03 +0000
(15:03 -0700)
committer
GitHub
<noreply@github.com>
Tue, 11 Sep 2018 21:01:25 +0000
(14:01 -0700)
Original-commit: flang-compiler/f18@
f591d31ab436157e92b1e46a86a6f6148b5d812d
Reviewed-on: https://github.com/flang-compiler/f18/pull/170
Tree-same-pre-rewrite: false
flang/lib/semantics/resolve-labels.cc
patch
|
blob
|
history
diff --git
a/flang/lib/semantics/resolve-labels.cc
b/flang/lib/semantics/resolve-labels.cc
index
c8bfd34
..
7cf08da
100644
(file)
--- a/
flang/lib/semantics/resolve-labels.cc
+++ b/
flang/lib/semantics/resolve-labels.cc
@@
-607,9
+607,9
@@
private:
// C1134, C1166
template<typename A>
void CheckLabelContext(const char *const stmtString, const A &constructName) {
- const auto
I
{std::find(
+ const auto
iter
{std::find(
constructNames_.crbegin(), constructNames_.crend(), constructName)};
- if (
I
== constructNames_.crend()) {
+ if (
iter
== constructNames_.crend()) {
errorHandler_.Say(currentPosition_,
parser::MessageFormattedText{
"%s construct-name '%s' is not in scope"_err_en_US, stmtString,