[clang] f5d1a9f - Try to fix windows build bot after 008e7bf92343b8bd6ebade5b3ddcfe4bb4e29f8d

via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 4 12:20:19 PST 2020


Author: Tyker
Date: 2020-02-04T21:20:16+01:00
New Revision: f5d1a9f1cfb5ef6cb7c421dfaed2cd4048c0dde9

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

LOG: Try to fix windows build bot after 008e7bf92343b8bd6ebade5b3ddcfe4bb4e29f8d

Added: 
    

Modified: 
    clang/test/SemaCXX/cxx2a-consteval.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/SemaCXX/cxx2a-consteval.cpp b/clang/test/SemaCXX/cxx2a-consteval.cpp
index 0be995bc7992..db6bca03fcc3 100644
--- a/clang/test/SemaCXX/cxx2a-consteval.cpp
+++ b/clang/test/SemaCXX/cxx2a-consteval.cpp
@@ -1,5 +1,7 @@
 // RUN: %clang_cc1 -std=c++2a -fsyntax-only -Wno-unused-value %s -verify
 
+typedef __SIZE_TYPE__ size_t;
+
 namespace basic_sema {
 
 consteval int f1(int i) {
@@ -103,7 +105,7 @@ auto f1() {
 }
 
 namespace invalid_function {
-using size_t = unsigned long;
+
 struct A {
   consteval void *operator new(size_t count);
   // expected-error at -1 {{'operator new' cannot be declared consteval}}


        


More information about the cfe-commits mailing list