[clang] ce9077f - [clang][Interp] Fix intap tests if int128 is not supported

Timm Bäder via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 10 01:38:18 PDT 2023


Author: Timm Bäder
Date: 2023-10-10T10:38:05+02:00
New Revision: ce9077fe7f0ceb2800076aa1abb472de5df41f16

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

LOG: [clang][Interp] Fix intap tests if int128 is not supported

This test doesn't do anything in that case.
This broke some builders, e.g.:
https://lab.llvm.org/buildbot/#/builders/245/builds/15150

Added: 
    

Modified: 
    clang/test/AST/Interp/intap.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/AST/Interp/intap.cpp b/clang/test/AST/Interp/intap.cpp
index 4ca65e104048487..b3f02d2b769531d 100644
--- a/clang/test/AST/Interp/intap.cpp
+++ b/clang/test/AST/Interp/intap.cpp
@@ -76,4 +76,9 @@ namespace i128 {
                                            // expected-note {{is outside the range of representable values of type}}
 }
 
+#else
+/// No int128 support, so no expected directives.
+
+// expected-no-diagnostics
+// ref-no-diagnostics
 #endif


        


More information about the cfe-commits mailing list