projects
/
platform
/
upstream
/
llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[flang] Add return statement to Logical opeator=.
[platform/upstream/llvm.git]
/
flang
/
include
/
flang
/
Evaluate
/
logical.h
diff --git
a/flang/include/flang/Evaluate/logical.h
b/flang/include/flang/Evaluate/logical.h
index
44ba30a
..
ba3715a
100644
(file)
--- a/
flang/include/flang/Evaluate/logical.h
+++ b/
flang/include/flang/Evaluate/logical.h
@@
-29,6
+29,7
@@
public:
template <int B, bool C> constexpr Logical &operator=(Logical<B, C> x) {
word_ = Represent(x.IsTrue());
+ return *this;
}
// Fortran actually has only .EQV. & .NEQV. relational operations