llvmorg-github-actions[bot] wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Hardik Kumar (hardikxk)

<details>
<summary>Changes</summary>

The patch removes all references to a non existent c94 standard from clang docs.

closes #<!-- -->206389 

---
Full diff: https://github.com/llvm/llvm-project/pull/206403.diff


2 Files Affected:

- (modified) clang/docs/UsersManual.rst (+2-2) 
- (modified) clang/include/clang/Basic/AttrDocs.td (+1-1) 


``````````diff
diff --git a/clang/docs/UsersManual.rst b/clang/docs/UsersManual.rst
index 77f644f221a17..db378446fd60c 100644
--- a/clang/docs/UsersManual.rst
+++ b/clang/docs/UsersManual.rst
@@ -35,7 +35,7 @@ which includes :ref:`C <c>`, :ref:`Objective-C <objc>`, 
:ref:`C++ <cxx>`, and
 language-specific information, please see the corresponding language
 specific section:
 
--  :ref:`C Language <c>`: K&R C, ANSI C89, ISO C90, C94 (C89+AMD1), C99 (+TC1,
+-  :ref:`C Language <c>`: K&R C, ANSI C89, ISO C90, C99 (+TC1,
    TC2, TC3), C11, C17, C23, and C2y.
 -  :ref:`Objective-C Language <objc>`: ObjC 1, ObjC 2, ObjC 2.1, plus
    variants depending on base language.
@@ -4032,7 +4032,7 @@ Differences between various standard modes
 ------------------------------------------
 
 clang supports the ``-std`` option, which changes what language mode clang 
uses.
-The supported modes for C are c89, gnu89, c94, c99, gnu99, c11, gnu11, c17,
+The supported modes for C are c89, gnu89, c99, gnu99, c11, gnu11, c17,
 gnu17, c23, gnu23, c2y, gnu2y, and various aliases for those modes. If no 
``-std``
 option is specified, clang defaults to gnu17 mode. Many C99 and C11 features
 are supported in earlier modes as a conforming extension, with a warning. Use
diff --git a/clang/include/clang/Basic/AttrDocs.td 
b/clang/include/clang/Basic/AttrDocs.td
index d806adb4be4b8..7781703b1203a 100644
--- a/clang/include/clang/Basic/AttrDocs.td
+++ b/clang/include/clang/Basic/AttrDocs.td
@@ -7648,7 +7648,7 @@ already being compiled with GNU inline semantics as the 
implied default. It is
 unspecified which macro is defined in a C++ compilation.
 
 GNU inline semantics are the default behavior with ``-std=gnu89``,
-``-std=c89``, ``-std=c94``, or ``-fgnu89-inline``.
+``-std=c89``, or ``-fgnu89-inline``.
   }];
 }
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/206403
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to