[all-commits] [llvm/llvm-project] e4a42c: Change __auto_type behavior with qualifiers to mat...
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Wed Mar 23 10:25:49 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e4a42c5b64d044ae28d9483b0ebd12038d5b5917
https://github.com/llvm/llvm-project/commit/e4a42c5b64d044ae28d9483b0ebd12038d5b5917
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2022-03-23 (Wed, 23 Mar 2022)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/Type.h
M clang/lib/AST/ASTContext.cpp
M clang/lib/Sema/SemaExpr.cpp
M clang/lib/Sema/SemaType.cpp
M clang/test/Sema/auto-type.c
Log Message:
-----------
Change __auto_type behavior with qualifiers to match GCC behavior
Currently, Clang handles some qualifiers correctly for __auto_type, but
it does not handle the restrict or _Atomic qualifiers in the same way
that GCC does. This patch handles those qualifiers so that they attach
to the deduced type the same as const and volatile already do.
This fixes https://github.com/llvm/llvm-project/issues/53652
More information about the All-commits
mailing list