| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Amends r344259 so that enumerators shadowing types are not diagnosed, as shadowing under those circumstances is rarely (if ever) an issue in practice.
llvm-svn: 344898
|
|
|
|
|
|
|
|
|
|
|
| |
Addresses PR24718 by checking for enumerators that shadow other enumerators. Catches issues like:
enum E1{e1};
void f(void) {
enum E2{e1};
}
llvm-svn: 344259
|
|
|
|
| |
llvm-svn: 192144
|
|
|
|
|
|
|
|
|
|
| |
Fixes <rdar://problem/10679282>.
I'm not completely satisfied with this patch. Sprinkling "diagnostic ignored"
_Pragmas throughout this file is gross, but I couldn't suppress
it for the entire file.
llvm-svn: 192143
|
|
|
|
|
|
| |
exists a locally scoped extern with the same name.
llvm-svn: 124580
|
|
|
|
|
|
| |
rdar://8883302.
llvm-svn: 124578
|
|
|
|
|
|
|
|
|
| |
entering a function or block definition, not on every single declaration.
Unfortunately we don't have previous-lookup results around when it's time
to make this decision, so we have to redo the lookup. The alternative is
to use delayed diagnostics.
llvm-svn: 99172
|
|
|
|
| |
llvm-svn: 99037
|
|
|
|
|
|
|
| |
considered to be a part of the translation unit unless they're named
in a way that brings them into existence.
llvm-svn: 98729
|
|
llvm-svn: 98685
|