diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-01-14 00:31:13 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-01-14 00:31:13 +0000 |
commit | a3b04cea0458481ccdd29573e52931ad70fd3a63 (patch) | |
tree | bf5cbc93ed83629f7522efd6796a8096dd3f3daf /llvm/lib/CodeGen/TargetOptionsImpl.cpp | |
parent | 11f5032368144703bc2bc88623338333ae941dc1 (diff) | |
download | llvm-a3b04cea0458481ccdd29573e52931ad70fd3a63.zip llvm-a3b04cea0458481ccdd29573e52931ad70fd3a63.tar.gz llvm-a3b04cea0458481ccdd29573e52931ad70fd3a63.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.
This is a different approach to r225780.
llvm-svn: 225875
Diffstat (limited to 'llvm/lib/CodeGen/TargetOptionsImpl.cpp')
0 files changed, 0 insertions, 0 deletions