[PATCH] D139436: [C2x] Relaxing requirements for va_start
    Erich Keane via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Tue Dec  6 09:30:37 PST 2022
    
    
  
erichkeane added inline comments.
================
Comment at: clang/test/C/C2x/n2975.c:49
+
+void foo(int a...); // expected-error {{C requires a comma prior to the ellipsis in a variadic function type}}
----------------
erichkeane wrote:
> .  
Was going to complain about the error message here, but I'm on the fence whether we should say THIS (the required comma), or something more descriptive, but at least this is better than GCC just failing in normal parsing.
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139436/new/
https://reviews.llvm.org/D139436
    
    
More information about the cfe-commits
mailing list