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.
1 parent 7d3fbca commit 79b9250Copy full SHA for 79b9250
llvm/include/llvm/Support/Program.h
@@ -45,7 +45,7 @@ typedef procid_t process_t;
45
46
/// This struct encapsulates information about a process.
47
struct ProcessInfo {
48
- enum : procid_t { InvalidPid = 0 };
+ static constexpr procid_t InvalidPid = 0;
49
50
procid_t Pid; /// The process identifier.
51
process_t Process; /// Platform-dependent process object.
0 commit comments