[all-commits] [llvm/llvm-project] 6081cc: Apply function attributes through array declarators
Momchil Velikov via All-commits
all-commits at lists.llvm.org
Mon Mar 23 04:03:22 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 6081ccf4a3b6289717c8ae558ac210c36ddcbfbe
https://github.com/llvm/llvm-project/commit/6081ccf4a3b6289717c8ae558ac210c36ddcbfbe
Author: Momchil Velikov <momchil.velikov at arm.com>
Date: 2020-03-23 (Mon, 23 Mar 2020)
Changed paths:
M clang/lib/Sema/SemaType.cpp
A clang/test/CodeGen/attr-noreturn.c
M clang/test/Sema/attr-noreturn.c
Log Message:
-----------
Apply function attributes through array declarators
There's inconsistency in handling array types between the
`distributeFunctionTypeAttrXXX` functions and the
`FunctionTypeUnwrapper` in `SemaType.cpp`.
This patch lets `FunctionTypeUnwrapper` apply function type attributes
through array types.
Differential Revision: https://reviews.llvm.org/D75109
More information about the All-commits
mailing list