]> granicus.if.org Git - clang/commit
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)
commit87017a781f9e2d70a0478abaae26ba486f6e717e
treedf8c4995fcbbdb1f576aa836e6dae7c0be4e6fc4
parente37bf44c8012f36f900955d8513e03791803045e
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 :-(

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193162 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/CodeGen/CGExprCXX.cpp
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
lib/Sema/SemaDeclAttr.cpp
test/Sema/attr-alias-elf.c [deleted file]