mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 02:24:22 +00:00
Appease a gcc warning about an overflow in a constant conversion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179703 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1446,7 +1446,8 @@ void LLVMAddFunctionAttr(LLVMValueRef Fn, LLVMAttribute PA) {
|
||||
void LLVMAddTargetDependentFunctionAttr(LLVMValueRef Fn, const char *A,
|
||||
const char *V) {
|
||||
Function *Func = unwrap<Function>(Fn);
|
||||
AttributeSet::AttrIndex Idx = AttributeSet::FunctionIndex;
|
||||
AttributeSet::AttrIndex Idx =
|
||||
AttributeSet::AttrIndex(AttributeSet::FunctionIndex);
|
||||
AttrBuilder B;
|
||||
|
||||
B.addAttribute(A, V);
|
||||
|
Reference in New Issue
Block a user