[llvm-bugs] [Bug 48799] Clang rejects both "const" and "const*" as type-name inside _Generic

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jan 19 10:34:52 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=48799

hstong at ca.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |hstong at ca.ibm.com
         Resolution|---                         |INVALID

--- Comment #1 from hstong at ca.ibm.com ---
Please refer to C17 subclause 6.7.2 paragraph 2:
At least one type specifier shall be given in the declaration specifiers in
each declaration, and in the specifier-qualifier list in each struct
declaration and type name.

See also "remove implicit int" in subclause M.3.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210119/aff5ced9/attachment.html>


More information about the llvm-bugs mailing list