diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-01-13 09:55:56 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-01-13 09:55:56 +0000 |
commit | c3691827c04df000d153854361ac3405e43850e8 (patch) | |
tree | 4e1985b2faf35b00b6341617db4e87674241afc6 /clang/lib/Lex/ModuleMap.cpp | |
parent | d1136297d3b80ddbbd73378bba1cc58359325858 (diff) | |
download | llvm-c3691827c04df000d153854361ac3405e43850e8.zip llvm-c3691827c04df000d153854361ac3405e43850e8.tar.gz llvm-c3691827c04df000d153854361ac3405e43850e8.tar.bz2 |
Sema: An extern declaration can't be a redeclaration of a parameter
In the following:
void f(int x) { extern int x; }
The second declaration of 'x' shouldn't be considered a redeclaration of
the parameter.
llvm-svn: 225780
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions