Skip to content
Unverified Commit 1d51bb82 authored by Jun Zhang's avatar Jun Zhang
Browse files

[Clang] Reword diagnostic for scope identifier with linkage

If the declaration of an identifier has block scope, and the identifier has
external or internal linkage, the declaration shall have no initializer for
the identifier.

Clang now gives a more suitable diagnosis for this case.
Fixes https://github.com/llvm/llvm-project/issues/57478



Signed-off-by: default avatarJun Zhang <jun@junz.org>

 Differential Revision: https://reviews.llvm.org/D133088
parent e4f45425
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment