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 f879a0a commit ed136ccCopy full SHA for ed136cc
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