mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +00:00
Remove operator cast method in favor of querying with the correct method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165899 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1542,7 +1542,7 @@ bool LLParser::ParseFunctionType(Type *&Result) {
|
||||
for (unsigned i = 0, e = ArgList.size(); i != e; ++i) {
|
||||
if (!ArgList[i].Name.empty())
|
||||
return Error(ArgList[i].Loc, "argument name invalid in function type");
|
||||
if (ArgList[i].Attrs)
|
||||
if (ArgList[i].Attrs.hasAttributes())
|
||||
return Error(ArgList[i].Loc,
|
||||
"argument attributes invalid in function type");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user