Skip to content

Commit 2a7720c

Browse files
committed
clang-format
1 parent 78fcafd commit 2a7720c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

clang/lib/Headers/hlsl/hlsl_intrinsic_helpers.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ constexpr vector<T, L> refract_vec_impl(vector<T, L> I, vector<T, L> N, T Eta) {
8888
#endif
8989
}
9090

91-
9291
template <typename T> constexpr T fmod_impl(T X, T Y) {
9392
#if !defined(__DIRECTX__)
9493
return __builtin_elementwise_fmod(X, Y);

clang/lib/Sema/SemaSPIRV.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,7 @@ bool SemaSPIRV::CheckSPIRVBuiltinFunctionCall(const TargetInfo &TI,
238238
QualType ArgTyC = C.get()->getType();
239239
if (!ArgTyC->isFloatingType()) {
240240
SemaRef.Diag(C.get()->getBeginLoc(), diag::err_builtin_invalid_arg_type)
241-
<< 3 << /* scalar*/ 5 << /* no int */ 0 << /* fp */ 1
242-
<< ArgTyC;
241+
<< 3 << /* scalar*/ 5 << /* no int */ 0 << /* fp */ 1 << ArgTyC;
243242
return true;
244243
}
245244

0 commit comments

Comments
 (0)