[clang-tools-extra] 8522a01 - Attempt forward fix for Linux buildbots for D116385

David Goldman via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 17 09:49:47 PDT 2022


Author: David Goldman
Date: 2022-03-17T12:49:16-04:00
New Revision: 8522a01e842e6791545864f2d255dc48190a7e34

URL: https://github.com/llvm/llvm-project/commit/8522a01e842e6791545864f2d255dc48190a7e34
DIFF: https://github.com/llvm/llvm-project/commit/8522a01e842e6791545864f2d255dc48190a7e34.diff

LOG: Attempt forward fix for Linux buildbots for D116385

Added: 
    

Modified: 
    clang-tools-extra/clangd/unittests/tweaks/ObjCMemberwiseInitializerTests.cpp

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clangd/unittests/tweaks/ObjCMemberwiseInitializerTests.cpp b/clang-tools-extra/clangd/unittests/tweaks/ObjCMemberwiseInitializerTests.cpp
index dc78d696bebd8..05235e01efad8 100644
--- a/clang-tools-extra/clangd/unittests/tweaks/ObjCMemberwiseInitializerTests.cpp
+++ b/clang-tools-extra/clangd/unittests/tweaks/ObjCMemberwiseInitializerTests.cpp
@@ -27,6 +27,7 @@ TEST_F(ObjCMemberwiseInitializerTest, TestAvailability) {
     @end
   )cpp");
 
+  ExtraArgs.push_back("-fobjc-runtime=macosx");
   ExtraArgs.push_back("-fobjc-arc");
 
   // Ensure the action can be initiated on the interface and implementation,
@@ -88,6 +89,7 @@ TEST_F(ObjCMemberwiseInitializerTest, TestAvailability) {
 
 TEST_F(ObjCMemberwiseInitializerTest, Test) {
   FileName = "TestTU.m";
+  ExtraArgs.push_back("-fobjc-runtime=macosx");
   ExtraArgs.push_back("-fobjc-arc");
 
   const char *Input = R"cpp(


        


More information about the cfe-commits mailing list