diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-22 14:23:09 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-22 14:23:09 +0000 |
commit | 6956d58722dc5832a776d9cb2b145db6f76b78de (patch) | |
tree | 3e4a4fe4db473f700b0c73b2a4caa4fa41a22f57 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 0fad0d7724339d9397ad55ec6c9580a9236dad17 (diff) | |
download | bcm5719-llvm-6956d58722dc5832a776d9cb2b145db6f76b78de.tar.gz bcm5719-llvm-6956d58722dc5832a776d9cb2b145db6f76b78de.zip |
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index d2dc8358eaf..066009ca7df 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -1024,7 +1024,6 @@ private: void EmitGlobalFunctionDefinition(GlobalDecl GD); void EmitGlobalVarDefinition(const VarDecl *D); - void scheduleAliasDefinitionEmission(GlobalDecl GD); void EmitAliasDefinition(GlobalDecl GD); void EmitObjCPropertyImplementations(const ObjCImplementationDecl *D); void EmitObjCIvarInitializations(ObjCImplementationDecl *D); |