diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2015-10-28 13:54:36 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2015-10-28 13:54:36 +0000 |
| commit | 039b10423ab1eea6ea54dc37169f811c238ee559 (patch) | |
| tree | 678d0e5e77794872bacb92b7a66dbc9e08da4c4b /llvm/lib/Target/SystemZ | |
| parent | e003ca2a03b2b4d776628183c988f0e15c44240c (diff) | |
| download | bcm5719-llvm-039b10423ab1eea6ea54dc37169f811c238ee559.tar.gz bcm5719-llvm-039b10423ab1eea6ea54dc37169f811c238ee559.zip | |
Put global classes into the appropriate namespace.
Most of the cases belong into an anonymous namespace. No
functionality change intended.
llvm-svn: 251515
Diffstat (limited to 'llvm/lib/Target/SystemZ')
| -rw-r--r-- | llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp b/llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp index 059ae3f7fb0..6444cf8e464 100644 --- a/llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp +++ b/llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp @@ -60,15 +60,15 @@ void SystemZInstPrinter::printRegName(raw_ostream &O, unsigned RegNo) const { O << '%' << getRegisterName(RegNo); } -template<unsigned N> -void printUImmOperand(const MCInst *MI, int OpNum, raw_ostream &O) { +template <unsigned N> +static void printUImmOperand(const MCInst *MI, int OpNum, raw_ostream &O) { int64_t Value = MI->getOperand(OpNum).getImm(); assert(isUInt<N>(Value) && "Invalid uimm argument"); O << Value; } -template<unsigned N> -void printSImmOperand(const MCInst *MI, int OpNum, raw_ostream &O) { +template <unsigned N> +static void printSImmOperand(const MCInst *MI, int OpNum, raw_ostream &O) { int64_t Value = MI->getOperand(OpNum).getImm(); assert(isInt<N>(Value) && "Invalid simm argument"); O << Value; |

