Skip to content

Commit 1811e87

Browse files
committed
[CodeGen] Fix enumeration value 'HasFakeUses' not handled in switch (NFC)
llvm-project/llvm/lib/CodeGen/MachineFunction.cpp:95:10: error: enumeration value 'HasFakeUses' not handled in switch [-Werror,-Wswitch] switch(Prop) { ^~~~ 1 error generated.
1 parent 800b073 commit 1811e87

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/CodeGen/MachineFunction.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ static const char *getPropertyName(MachineFunctionProperties::Property Prop) {
9494
// clang-format off
9595
switch(Prop) {
9696
case P::FailedISel: return "FailedISel";
97+
case P::HasFakeUses: return "HasFakeUses";
9798
case P::IsSSA: return "IsSSA";
9899
case P::Legalized: return "Legalized";
99100
case P::NoPHIs: return "NoPHIs";

0 commit comments

Comments
 (0)