Skip to content

Commit fb60def

Browse files
[VFS] Fix buildbot failure caused by llvm#113363
Drop few `constexpr` from the change that causes internal compiler error in some GCC versions used in some buildbot.
1 parent 4c29a60 commit fb60def

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/include/llvm/Support/VirtualOutputConfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ struct OutputConfig : detail::EmptyBaseClass {
6868
{
6969
}
7070

71-
constexpr bool operator==(OutputConfig RHS) const {
71+
bool operator==(OutputConfig RHS) const {
7272
#define HANDLE_OUTPUT_CONFIG_FLAG(NAME, DEFAULT) \
7373
if (NAME != RHS.NAME) \
7474
return false;
7575
#include "llvm/Support/VirtualOutputConfig.def"
7676
return true;
7777
}
78-
constexpr bool operator!=(OutputConfig RHS) const { return !operator==(RHS); }
78+
bool operator!=(OutputConfig RHS) const { return !operator==(RHS); }
7979

8080
private:
8181
#define HANDLE_OUTPUT_CONFIG_FLAG(NAME, DEFAULT) bool NAME : 1;

0 commit comments

Comments
 (0)