Skip to content

Commit b9f1fdc

Browse files
committed
Silence a not all control paths return a value diagnostic; NFC
1 parent 6b91a3b commit b9f1fdc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/include/clang/Basic/Attr.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4500,6 +4500,7 @@ def HLSLShader : InheritableAttr {
45004500
case HLSLShaderAttr::Mesh: return llvm::Triple::Mesh;
45014501
case HLSLShaderAttr::Amplification: return llvm::Triple::Amplification;
45024502
}
4503+
llvm_unreachable("unknown enumeration value");
45034504
}
45044505
}];
45054506
}

0 commit comments

Comments
 (0)