Skip to content

[SYCL] Fix some coverity issues in file-table-tform - #23472

Open
sarnex wants to merge 1 commit into
intel:syclfrom
sarnex:filetabletform
Open

sarnex wants to merge 1 commit into
intel:syclfrom
sarnex:filetabletform

Conversation

@sarnex

@sarnex sarnex commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Need to do some input validation.

CMPLRLLVM-73539

Signed-off-by: Nick Sarnie <nick.sarnie@intel.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@@ -30,6 +30,7 @@
#include "llvm/Support/Error.h"
#include "llvm/Support/MemoryBuffer.h"

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SimpleTable is in llvm/Support but it is not upstream code.

})
.Case(OPT_MERGE, [&](TformCmd *Cmd) -> Error {
// argument is <column name>
assert(Args.size() == 1);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an assert because input validation is already done on line 271-276.

@sarnex
sarnex marked this pull request as ready for review October 13, 2026 21:04
@sarnex
sarnex requested a review from a team as a code owner October 13, 2026 21:04

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant