Revert "This patch causes clang to reject alias attributes that point to undefined...
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 22 Oct 2013 14:23:09 +0000 (14:23 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 22 Oct 2013 14:23:09 +0000 (14:23 +0000)
commit6956d58722dc5832a776d9cb2b145db6f76b78de
tree3e4a4fe4db473f700b0c73b2a4caa4fa41a22f57
parent0fad0d7724339d9397ad55ec6c9580a9236dad17
Revert "This patch causes clang to reject alias attributes that point to undefined names. For example, with this patch we now reject"

This reverts commit r193161.

It broke

void foo() __attribute__((alias("bar")));
void bar() {}
void zed() __attribute__((alias("foo")));

Looks like we have to fix pr17639 first :-(

llvm-svn: 193162
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/CodeGen/CGExprCXX.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/CodeGen/CodeGenModule.h
clang/lib/Sema/SemaDeclAttr.cpp
clang/test/Sema/attr-alias-elf.c [deleted file]