From fccf468e51ee6230cbdd0e00e389b3543cbe6c02 Mon Sep 17 00:00:00 2001 From: Jinsong Ji Date: Fri, 15 Nov 2024 00:55:33 -0500 Subject: [PATCH] Adapt to ProcessWarningOptions interface changes (#556) Signed-off-by: Lu, John Co-authored-by: Lu, John --- opencl_clang.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opencl_clang.cpp b/opencl_clang.cpp index 445031e..7f7287e 100644 --- a/opencl_clang.cpp +++ b/opencl_clang.cpp @@ -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(