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:
83ccf62
)
[flang] Fix an ambiguous overload error
author
Isuru Fernando
<isuruf@gmail.com>
Wed, 26 Feb 2020 18:05:28 +0000
(12:05 -0600)
committer
Isuru Fernando
<isuruf@gmail.com>
Thu, 5 Mar 2020 15:19:11 +0000
(09:19 -0600)
Original-commit: flang-compiler/f18@
70fa71ff7be3024a44b8214be663b9701adc5b1f
Reviewed-on: https://github.com/flang-compiler/f18/pull/1029
flang/include/flang/Parser/dump-parse-tree.h
patch
|
blob
|
history
diff --git
a/flang/include/flang/Parser/dump-parse-tree.h
b/flang/include/flang/Parser/dump-parse-tree.h
index
d132e93
..
818dfbd
100644
(file)
--- a/
flang/include/flang/Parser/dump-parse-tree.h
+++ b/
flang/include/flang/Parser/dump-parse-tree.h
@@
-784,7
+784,7
@@
protected:
std::is_same_v<T, std::int64_t> || std::is_same_v<T, std::uint64_t>) {
ss << x;
}
- if (ss.tellp()
!= 0
) {
+ if (ss.tellp()) {
return ss.str();
}
if constexpr (std::is_same_v<T, Name> || HasSource<T>::value) {