]> granicus.if.org Git - clang/commit
When we're declaring an object or function with linkage, teach name
authorDouglas Gregor <dgregor@apple.com>
Tue, 24 Feb 2009 20:03:32 +0000 (20:03 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 24 Feb 2009 20:03:32 +0000 (20:03 +0000)
commitd6f7e9dccd0fa8a5a15d7478324c0ae229fc5e1e
tree905485f4efead47bee847b4e8f2a36444d7406f3
parent8f30105fda579f8e6db339cb88cdec2bef6350bd
When we're declaring an object or function with linkage, teach name
lookup to skip over names without linkage. This finishes
<rdar://problem/6127293>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65386 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Decl.h
lib/AST/Decl.cpp
lib/Sema/Sema.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaLookup.cpp
test/Sema/function-redecl.c
test/Sema/var-redecl.c