1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Fix a bug noticed by Emil Mikulic.

llvm-svn: 31538
This commit is contained in:
Chris Lattner 2006-11-08 05:58:11 +00:00
parent e50f5e4c05
commit 6147da248c

View File

@ -2102,8 +2102,8 @@ Function : BasicBlockList END {
};
FnDeclareLinkage: /*default*/ |
DLLIMPORT { CurFun.Linkage = GlobalValue::DLLImportLinkage } |
EXTERN_WEAK { CurFun.Linkage = GlobalValue::DLLImportLinkage };
DLLIMPORT { CurFun.Linkage = GlobalValue::DLLImportLinkage; } |
EXTERN_WEAK { CurFun.Linkage = GlobalValue::DLLImportLinkage; };
FunctionProto : DECLARE { CurFun.isDeclare = true; } FnDeclareLinkage FunctionHeaderH {
$$ = CurFun.CurrentFunction;