[all-commits] [llvm/llvm-project] c22625: [C2y] Remove support for _Imaginary (#97436)
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Mon Jul 8 10:43:25 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c22625cb3eaf052e2377881d64640196ff5da3d1
https://github.com/llvm/llvm-project/commit/c22625cb3eaf052e2377881d64640196ff5da3d1
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2024-07-08 (Mon, 08 Jul 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/TokenKinds.def
M clang/include/clang/Sema/DeclSpec.h
M clang/lib/CodeGen/CGExprComplex.cpp
M clang/lib/Sema/DeclSpec.cpp
M clang/lib/Sema/SemaCodeComplete.cpp
M clang/lib/Sema/SemaLookup.cpp
M clang/lib/Sema/SemaType.cpp
A clang/test/C/C2y/n3274.c
M clang/www/c_status.html
Log Message:
-----------
[C2y] Remove support for _Imaginary (#97436)
WG14 N3274 removed _Imaginary from Annex G. Clang has never fully
supported Annex G or _Imaginary, so removal is pretty trivial for us.
Note, we are keeping _Imaginary as a keyword so that we get better
diagnostic behavior. This is still conforming because _I makes it a
reserved identifier, so it's not available for users to use as an
identifier anyway.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list