Skip to content

Commit fccf468

Browse files
jsjiLu, John
and
Lu, John
authored
Adapt to ProcessWarningOptions interface changes (#556)
Signed-off-by: Lu, John <[email protected]> Co-authored-by: Lu, John <[email protected]>
1 parent de985e9 commit fccf468

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

opencl_clang.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,8 @@ Compile(const char *pszProgramSource, const char **pInputHeaders,
244244
optionsParser.args(), *Diags);
245245

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

249250
// Map memory buffers to a virtual file system
250251
MemFS->addFile(

0 commit comments

Comments
 (0)