Skip to content

Commit e611841

Browse files
vmaksimoFznamznon
andauthored
Update llvm/tools/sycl-post-link/SpecConstants.cpp
Co-authored-by: Mariya Podchishchaeva <mariya.podchishchaeva@intel.com>
1 parent 7fcd84e commit e611841

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/tools/sycl-post-link/SpecConstants.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ void collectCompositeElementsDefaultValuesRecursive(
336336
CharPtr = reinterpret_cast<char *>(&v);
337337
}
338338
}
339-
assert(CharPtr != nullptr && "Unexpected constant type");
339+
assert(CharPtr && "Unexpected constant type");
340340
std::copy_n(CharPtr, NumBytes, std::back_inserter(DefaultValues));
341341
Offset += NumBytes;
342342
}

0 commit comments

Comments
 (0)