Issue 164995
Summary [clang][bytecode] Constexpr function never produces a constant _expression_
Labels clang
Assignees
Reporter BobIsOnFire
    Minimal repro:

```cpp
class A {
public:
    static constexpr int get_value2() { return 1 + get_value(); }
    static constexpr int get_value() { return 1; }
};
```

https://godbolt.org/z/v7vsra1YG

Error disappears if I reorder methods.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to