From 545805c6590921b6589ef2ccc885dfad316b16c2 Mon Sep 17 00:00:00 2001 From: Jeff Noyle Date: Tue, 5 Dec 2023 16:18:47 -0800 Subject: [PATCH] Linux CComBstr clear --- tools/clang/unittests/HLSL/PixTestUtils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/clang/unittests/HLSL/PixTestUtils.cpp b/tools/clang/unittests/HLSL/PixTestUtils.cpp index f756dfc193..4d4a8f2bb7 100644 --- a/tools/clang/unittests/HLSL/PixTestUtils.cpp +++ b/tools/clang/unittests/HLSL/PixTestUtils.cpp @@ -317,8 +317,8 @@ class InstructionOffsetSeekerImpl : public InstructionOffsetSeeker { } } SourceFileOrdinal++; - fileName = nullptr; - fileContent = nullptr; + fileName.Empty(); + fileContent.Empty(); } }