We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fcd84e commit e611841Copy full SHA for e611841
llvm/tools/sycl-post-link/SpecConstants.cpp
@@ -336,7 +336,7 @@ void collectCompositeElementsDefaultValuesRecursive(
336
CharPtr = reinterpret_cast<char *>(&v);
337
}
338
339
- assert(CharPtr != nullptr && "Unexpected constant type");
+ assert(CharPtr && "Unexpected constant type");
340
std::copy_n(CharPtr, NumBytes, std::back_inserter(DefaultValues));
341
Offset += NumBytes;
342
0 commit comments