search for: numparamsexpr

Displaying 1 result from an estimated 1 matches for "numparamsexpr".

2018 May 25
1
MSP430: interrupt vector number out of bounds error in v6/trunk (with patch)
...ools/clang/lib/Sema/SemaDeclAttr.cpp:5104 unsigned Num = NumParams.getLimitedValue(255); if ((Num & 1) || Num > 30) { S.Diag(AL.getLoc(), diag::err_attribute_argument_out_of_bounds) << AL.getName() << (int)NumParams.getSExtValue() << NumParamsExpr->getSourceRange(); return; } Also, the __isr_ symbol is emitted with the vector number divided by 2. // Step 3: Emit ISR vector alias. unsigned Num = attr->getNumber() / 2; llvm::GlobalAlias::create(llvm::Function::ExternalLinkage, &quot...