From 169157bd0e32990b8da75ed2ebe77e297d638d09 Mon Sep 17 00:00:00 2001 From: "Lu, John" Date: Thu, 14 Nov 2024 09:04:30 -0800 Subject: [PATCH] Adapt to ProcessWarningOptions interface changes Signed-off-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(