[clang] 19bef88 - [clang][NFC] Adjust expected directives in DR tests further

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 2 22:03:12 PST 2023


Author: Vlad Serebrennikov
Date: 2023-12-03T09:02:58+03:00
New Revision: 19bef888a8c7c58ddddbdf94d377fc485e050efb

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

LOG: [clang][NFC] Adjust expected directives in DR tests further

This is a follow-up to 96070e1e4c13f53c2cef8178d64e206162923f54, where long long case was hidden by a different error.

Addresses bot failures:
https://lab.llvm.org/buildbot/#/builders/123/builds/23355

Added: 
    

Modified: 
    clang/test/CXX/drs/dr2xx.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/CXX/drs/dr2xx.cpp b/clang/test/CXX/drs/dr2xx.cpp
index 4dd6d7599f2a0..bc862e26ff667 100644
--- a/clang/test/CXX/drs/dr2xx.cpp
+++ b/clang/test/CXX/drs/dr2xx.cpp
@@ -1298,7 +1298,7 @@ namespace dr299 { // dr299: 2.8 c++11
   // cxx98-11-error@#dr299-q {{ambiguous conversion of array size expression of type 'T' to an integral or enumeration type}}
   //  cxx98-11-note@#dr299-int {{conversion to integral type 'int' declared here}}
   //  cxx98-11-note@#dr299-ushort {{conversion to integral type 'unsigned short' declared here}}
-  // since-cxx14-error-re@#dr299-q {{{{conversion from 'T' to 'unsigned (long|int)' is ambiguous}}}}
+  // since-cxx14-error-re@#dr299-q {{{{conversion from 'T' to 'unsigned (long long|long|int)' is ambiguous}}}}
   //  since-cxx14-note@#dr299-int {{candidate function}}
   //  since-cxx14-note@#dr299-ushort {{candidate function}}
 }


        


More information about the cfe-commits mailing list