Skip to content

Commit

Permalink
Adapt to ProcessWarningOptions interface changes
Browse files Browse the repository at this point in the history
Signed-off-by: Lu, John <[email protected]>
  • Loading branch information
LU-JOHN committed Nov 14, 2024
1 parent de985e9 commit 169157b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion opencl_clang.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ Compile(const char *pszProgramSource, const char **pInputHeaders,
optionsParser.args(), *Diags);

// Configure our handling of diagnostics.
ProcessWarningOptions(*Diags, compiler->getDiagnosticOpts());
ProcessWarningOptions(*Diags, compiler->getDiagnosticOpts(),
compiler->getFileManager().getVirtualFileSystem());

// Map memory buffers to a virtual file system
MemFS->addFile(
Expand Down

0 comments on commit 169157b

Please sign in to comment.