Skip to content

Commit

Permalink
Adapt to ProcessWarningOptions interface changes (#556)
Browse files Browse the repository at this point in the history
Signed-off-by: Lu, John <john.lu@intel.com>
Co-authored-by: Lu, John <john.lu@intel.com>
  • Loading branch information
jsji and LU-JOHN authored Nov 15, 2024
1 parent de985e9 commit fccf468
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 fccf468

Please sign in to comment.