aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetOptionsImpl.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-01-14 00:31:13 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-01-14 00:31:13 +0000
commita3b04cea0458481ccdd29573e52931ad70fd3a63 (patch)
treebf5cbc93ed83629f7522efd6796a8096dd3f3daf /llvm/lib/CodeGen/TargetOptionsImpl.cpp
parent11f5032368144703bc2bc88623338333ae941dc1 (diff)
downloadllvm-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