| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
on first declaration only. // rdar://13364028
llvm-svn: 177127
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
some cases where functions with no language linkage were being treated as having
C language linkage. In particular, don't warn in
extern "C" {
static NonPod foo();
}
Since getLanguageLinkage checks the language linkage, the linkage computation
cannot use the language linkage. Break the loop by checking just the context
in the linkage computation.
llvm-svn: 175117
|
|
|
|
| |
llvm-svn: 171263
|
|
|
|
|
|
|
|
|
|
| |
A warning was added in r150128 for returning non-C compatible
user-defined types from functions with C linkage.
This makes the text more clear for the case when the type isn't
decidedly non-C compatible, but incomplete.
llvm-svn: 160681
|
|
returned from an extern "C" function.
Fixes bug 6143
llvm-svn: 150128
|