https://bugs.llvm.org/show_bug.cgi?id=35759
Bug ID: 35759
Summary: No diagnostic for enum name and an identical function
name
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangb...@nondot.org
Reporter: fraser.ro...@btinternet.com
CC: dgre...@apple.com, llvm-bugs@lists.llvm.org
class C {
public:
unsigned char CType() const {
return 0;
};
enum
CType {
r= 1,
z= 2,
n= 0,
};
};
I use C++ Builder 10.2.1. There should be diagnostic messages such as
"multiple declaration" or "earlier declaration" as there is with earlier
versions of C++ Builder.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs