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 <john.lu@intel.com>
  • Loading branch information
LU-JOHN authored and jsji committed Nov 15, 2024
1 parent de985e9 commit a74c0d1
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 a74c0d1

Please sign in to comment.