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 18811d4 commit aafd825Copy full SHA for aafd825
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