[llvm-branch-commits] [llvm-branch] r232054 - Merging r217254:
Daniel Sanders
daniel.sanders at imgtec.com
Thu Mar 12 09:23:09 PDT 2015
Author: dsanders
Date: Thu Mar 12 11:23:09 2015
New Revision: 232054
URL: http://llvm.org/viewvc/llvm-project?rev=232054&view=rev
Log:
Merging r217254:
------------------------------------------------------------------------
r217254 | tomatabacu | 2014-09-05 16:43:21 +0100 (Fri, 05 Sep 2014) | 9 lines
[mips] Rename data members and member functions in MipsAssemblerOptions.
Summary: Use the naming convention from the LLVM Coding Standards.
Reviewers: dsanders
Reviewed By: dsanders
Differential Revision: http://reviews.llvm.org/D4972
------------------------------------------------------------------------
Modified:
llvm/branches/release_35/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
Modified: llvm/branches/release_35/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_35/lib/Target/Mips/AsmParser/MipsAsmParser.cpp?rev=232054&r1=232053&r2=232054&view=diff
==============================================================================
--- llvm/branches/release_35/lib/Target/Mips/AsmParser/MipsAsmParser.cpp (original)
+++ llvm/branches/release_35/lib/Target/Mips/AsmParser/MipsAsmParser.cpp Thu Mar 12 11:23:09 2015
@@ -38,23 +38,23 @@ class MCInstrInfo;
namespace {
class MipsAssemblerOptions {
public:
- MipsAssemblerOptions() : aTReg(1), reorder(true), macro(true) {}
+ MipsAssemblerOptions() : ATReg(1), Reorder(true), Macro(true) {}
- unsigned getATRegNum() { return aTReg; }
+ unsigned getATRegNum() { return ATReg; }
bool setATReg(unsigned Reg);
- bool isReorder() { return reorder; }
- void setReorder() { reorder = true; }
- void setNoreorder() { reorder = false; }
-
- bool isMacro() { return macro; }
- void setMacro() { macro = true; }
- void setNomacro() { macro = false; }
+ bool isReorder() { return Reorder; }
+ void setReorder() { Reorder = true; }
+ void setNoReorder() { Reorder = false; }
+
+ bool isMacro() { return Macro; }
+ void setMacro() { Macro = true; }
+ void setNoMacro() { Macro = false; }
private:
- unsigned aTReg;
- bool reorder;
- bool macro;
+ unsigned ATReg;
+ bool Reorder;
+ bool Macro;
};
}
@@ -1568,7 +1568,7 @@ bool MipsAssemblerOptions::setATReg(unsi
if (Reg > 31)
return false;
- aTReg = Reg;
+ ATReg = Reg;
return true;
}
@@ -2409,7 +2409,7 @@ bool MipsAsmParser::parseSetNoReorderDir
reportParseError("unexpected token in statement");
return false;
}
- Options.setNoreorder();
+ Options.setNoReorder();
getTargetStreamer().emitDirectiveSetNoReorder();
Parser.Lex(); // Consume the EndOfStatement.
return false;
@@ -2438,7 +2438,7 @@ bool MipsAsmParser::parseSetNoMacroDirec
reportParseError("`noreorder' must be set before `nomacro'");
return false;
}
- Options.setNomacro();
+ Options.setNoMacro();
Parser.Lex(); // Consume the EndOfStatement.
return false;
}
More information about the llvm-branch-commits
mailing list