Author: Matt Jacobson
Date: 2022-11-17T00:20:23-05:00
New Revision: bbe6bd724a6335e497c7edaed191d37a828d0390

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

LOG: Trivial fix to failing test on FreeBSD

This file can't use C99-style comments.

Added: 
    

Modified: 
    clang/test/C/drs/dr3xx.c

Removed: 
    


################################################################################
diff  --git a/clang/test/C/drs/dr3xx.c b/clang/test/C/drs/dr3xx.c
index 96d809a4fe131..d11cf208e543f 100644
--- a/clang/test/C/drs/dr3xx.c
+++ b/clang/test/C/drs/dr3xx.c
@@ -188,7 +188,7 @@ void dr320(int okay[dr320_v]) { /* c89only-warning 
{{variable length arrays are
     ',' == L',' && '\\' == L'\\' && '"' == L'"' && '\'' == L'\''               
 \
   )
 #if __STDC_MB_MIGHT_NEQ_WC__
-#ifndef __FreeBSD__ // PR22208, FreeBSD expects us to give a bad (but 
conforming) answer here.
+#ifndef __FreeBSD__ /* PR22208, FreeBSD expects us to give a bad (but 
conforming) answer here. */
 _Static_assert(!DR321, "__STDC_MB_MIGHT_NEQ_WC__ but all basic source 
characters have same representation");
 #endif
 #else


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to