[clang] f462d9a - [C99] Claim conformance to "remove deprecation of aliased array parameters"

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 2 10:10:26 PDT 2024


Author: Aaron Ballman
Date: 2024-04-02T13:08:27-04:00
New Revision: f462d9a97dbbeef712ef0de206ec17f5ed7e15c8

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

LOG: [C99] Claim conformance to "remove deprecation of aliased array parameters"

I can't locate a document number for this particular change, but C89
had the following entry in Future Language Directions:

The use of two parameters declared with an array type (prior to their
adjustment to pointer type) in separate lvalues to designate the same
object is an obsolescent feature.

C99 removed this entry. Clang and LLVM have never done anything in
support of that deprecation, so we trivially conform to its removal.

Added: 
    

Modified: 
    clang/www/c_status.html

Removed: 
    


################################################################################
diff  --git a/clang/www/c_status.html b/clang/www/c_status.html
index acb32e5e2c8e29..8ad454145293e4 100644
--- a/clang/www/c_status.html
+++ b/clang/www/c_status.html
@@ -350,7 +350,7 @@ <h2 id="c99">C99 implementation status</h2>
     <tr>
       <td>remove deprecation of aliased array parameters</td>
       <td>Unknown</td>
-      <td class="unknown" align="center">Unknown</td>
+      <td class="full" align="center">Yes</td>
     </tr>
     <tr>
       <td>conversion of array to pointer not limited to lvalues</td>


        


More information about the cfe-commits mailing list