mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Fix style issues in AsmParser.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188798 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
38cd21a3e9
commit
7b0a79601b
@ -823,7 +823,7 @@ bool AsmParser::ParsePrimaryExpr(const MCExpr *&Res, SMLoc &EndLoc) {
|
||||
Variant = MCSymbolRefExpr::VK_None;
|
||||
return TokError("invalid variant '" + Split.second + "'");
|
||||
}
|
||||
IDVal = Split.first;
|
||||
IDVal = Split.first;
|
||||
}
|
||||
if (IDVal == "f" || IDVal == "b"){
|
||||
MCSymbol *Sym = Ctx.GetDirectionalLocalSymbol(IntVal,
|
||||
@ -1490,7 +1490,8 @@ bool AsmParser::ParseStatement(ParseStatementInfo &Info) {
|
||||
std::string OpcodeStr = IDVal.lower();
|
||||
ParseInstructionInfo IInfo(Info.AsmRewrites);
|
||||
bool HadError = getTargetParser().ParseInstruction(IInfo, OpcodeStr,
|
||||
IDLoc, Info.ParsedOperands);
|
||||
IDLoc,
|
||||
Info.ParsedOperands);
|
||||
Info.ParseError = HadError;
|
||||
|
||||
// Dump the parsed representation, if requested.
|
||||
@ -1890,7 +1891,8 @@ bool AsmParser::ParseMacroArgument(MCAsmMacroArgument &MA,
|
||||
}
|
||||
|
||||
// Parse the macro instantiation arguments.
|
||||
bool AsmParser::ParseMacroArguments(const MCAsmMacro *M, MCAsmMacroArguments &A) {
|
||||
bool AsmParser::ParseMacroArguments(const MCAsmMacro *M,
|
||||
MCAsmMacroArguments &A) {
|
||||
const unsigned NParameters = M ? M->Parameters.size() : 0;
|
||||
// Argument delimiter is initially unknown. It will be set by
|
||||
// ParseMacroArgument()
|
||||
|
Loading…
Reference in New Issue
Block a user