Skip to content

Commit 8babecf

Browse files
committed
Reorder declarations
1 parent d4d8095 commit 8babecf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flang/include/flang/Semantics/dump-expr.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ class DumpEvaluateExpr {
4040

4141
private:
4242
template <typename T> struct TypeOf {
43-
static constexpr std::string_view name{TypeOf<T>::get()};
4443
static constexpr std::string_view get() {
4544
std::string_view v(__PRETTY_FUNCTION__);
4645
// Extract the "xyz" from the "pretty function" string:
@@ -59,6 +58,8 @@ class DumpEvaluateExpr {
5958
}
6059
return "";
6160
}
61+
62+
static constexpr std::string_view name{TypeOf<T>::get()};
6263
};
6364

6465
template <typename A, bool C> void Show(const common::Indirection<A, C> &x) {

0 commit comments

Comments
 (0)