Skip to content

Commit e0239e8

Browse files
committed
fix build issue from bad merge
1 parent cb9768b commit e0239e8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

clang/include/clang/Basic/Builtins.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4542,7 +4542,7 @@ def HLSLFrac : LangBuiltin<"HLSL_LANG"> {
45424542
}
45434543

45444544
def HLSLLerp : LangBuiltin<"HLSL_LANG"> {
4545-
let Spellings = ["__builtin_hlsl_elementwise_frac"];
4545+
let Spellings = ["__builtin_hlsl_lerp"];
45464546
let Attributes = [NoThrow, Const];
45474547
let Prototype = "void(...)";
45484548
}

clang/lib/Sema/SemaChecking.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5281,6 +5281,7 @@ bool Sema::CheckHLSLBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) {
52815281
<< PassedType << ExpectedType << 1 << 0 << 0;
52825282
return true;
52835283
}
5284+
break;
52845285
}
52855286
case Builtin::BI__builtin_hlsl_lerp: {
52865287
if (checkArgCount(*this, TheCall, 3))

0 commit comments

Comments
 (0)