[llvm] fb60def - [VFS] Fix buildbot failure caused by #113363
Steven Wu via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 5 11:14:44 PDT 2025
Author: Steven Wu
Date: 2025-09-05T11:12:37-07:00
New Revision: fb60defd839d2eac7428abe60b362145a6888e69
URL: https://github.com/llvm/llvm-project/commit/fb60defd839d2eac7428abe60b362145a6888e69
DIFF: https://github.com/llvm/llvm-project/commit/fb60defd839d2eac7428abe60b362145a6888e69.diff
LOG: [VFS] Fix buildbot failure caused by #113363
Drop few `constexpr` from the change that causes internal compiler error
in some GCC versions used in some buildbot.
Added:
Modified:
llvm/include/llvm/Support/VirtualOutputConfig.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/VirtualOutputConfig.h b/llvm/include/llvm/Support/VirtualOutputConfig.h
index f6378177680e8..85a6ed913b873 100644
--- a/llvm/include/llvm/Support/VirtualOutputConfig.h
+++ b/llvm/include/llvm/Support/VirtualOutputConfig.h
@@ -68,14 +68,14 @@ struct OutputConfig : detail::EmptyBaseClass {
{
}
- constexpr bool operator==(OutputConfig RHS) const {
+ bool operator==(OutputConfig RHS) const {
#define HANDLE_OUTPUT_CONFIG_FLAG(NAME, DEFAULT) \
if (NAME != RHS.NAME) \
return false;
#include "llvm/Support/VirtualOutputConfig.def"
return true;
}
- constexpr bool operator!=(OutputConfig RHS) const { return !operator==(RHS); }
+ bool operator!=(OutputConfig RHS) const { return !operator==(RHS); }
private:
#define HANDLE_OUTPUT_CONFIG_FLAG(NAME, DEFAULT) bool NAME : 1;
More information about the llvm-commits
mailing list