We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
constexpr
static inline
1 parent 40cb4f4 commit 35fda65Copy full SHA for 35fda65
llvm/include/llvm/Pass.h
@@ -87,7 +87,7 @@ enum class ThinOrFullLTOPhase {
87
};
88
89
#ifndef NDEBUG
90
-static inline const char *to_string(ThinOrFullLTOPhase Phase) {
+constexpr const char *to_string(ThinOrFullLTOPhase Phase) {
91
switch (Phase) {
92
case ThinOrFullLTOPhase::None:
93
return "None";
0 commit comments