Skip to content

Commit 4a67a3b

Browse files
author
Xiang Li
committed
Remove dead code.
1 parent 031ef95 commit 4a67a3b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

clang/lib/Driver/ToolChains/HLSL.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ std::string tryParseProfile(StringRef Profile) {
127127
}
128128

129129
bool isLegalValidatorVersion(StringRef ValVersionStr, const Driver &D) {
130-
auto VerPair = ValVersionStr.split(".");
131-
llvm::APInt APMajor, APMinor;
132130
VersionTuple Version;
133131
if (Version.tryParse(ValVersionStr) || Version.getBuild() ||
134132
Version.getSubminor() || !Version.getMinor()) {

0 commit comments

Comments
 (0)