[clang] 329abac - Blind stab in the dark to fix a bot failure
Chris Bieneman via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 15 18:13:13 PDT 2022
Author: Chris Bieneman
Date: 2022-04-15T20:12:59-05:00
New Revision: 329abac134a35acc81bfab30a87130a3c208be2a
URL: https://github.com/llvm/llvm-project/commit/329abac134a35acc81bfab30a87130a3c208be2a
DIFF: https://github.com/llvm/llvm-project/commit/329abac134a35acc81bfab30a87130a3c208be2a.diff
LOG: Blind stab in the dark to fix a bot failure
*fingers crossed*
Added:
Modified:
clang/unittests/Driver/ToolChainTest.cpp
Removed:
################################################################################
diff --git a/clang/unittests/Driver/ToolChainTest.cpp b/clang/unittests/Driver/ToolChainTest.cpp
index 3d9d266ef3161..a0823f3ba123a 100644
--- a/clang/unittests/Driver/ToolChainTest.cpp
+++ b/clang/unittests/Driver/ToolChainTest.cpp
@@ -375,9 +375,11 @@ TEST(DxcModeTest, TargetProfileValidation) {
if (DiagLevel == DiagnosticsEngine::Level::Error) {
Errors.emplace_back();
Info.FormatDiagnostic(Errors.back());
+ Errors.back() += '\0';
} else {
Msgs.emplace_back();
Info.FormatDiagnostic(Msgs.back());
+ Msgs.back() += '\0';
}
}
void clear() override {
More information about the cfe-commits
mailing list