[llvm] r221898 - [Hexagon]

Colin LeMahieu colinl at codeaurora.org
Thu Nov 13 08:36:30 PST 2014


Author: colinl
Date: Thu Nov 13 10:36:30 2014
New Revision: 221898

URL: http://llvm.org/viewvc/llvm-project?rev=221898&view=rev
Log:
[Hexagon]
NFC Renaming reserved identifier.

Modified:
    llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonELFObjectWriter.cpp

Modified: llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonELFObjectWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonELFObjectWriter.cpp?rev=221898&r1=221897&r2=221898&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonELFObjectWriter.cpp (original)
+++ llvm/trunk/lib/Target/Hexagon/MCTargetDesc/HexagonELFObjectWriter.cpp Thu Nov 13 10:36:30 2014
@@ -21,20 +21,20 @@ namespace {
 
 class HexagonELFObjectWriter : public MCELFObjectTargetWriter {
 private:
-  StringRef _CPU;
+  StringRef CPU;
 
 public:
-  HexagonELFObjectWriter(uint8_t OSABI, StringRef CPU);
+  HexagonELFObjectWriter(uint8_t OSABI, StringRef C);
 
   virtual unsigned GetRelocType(MCValue const &Target, MCFixup const &Fixup,
                                 bool IsPCRel) const override;
 };
 }
 
-HexagonELFObjectWriter::HexagonELFObjectWriter(uint8_t OSABI, StringRef CPU)
+HexagonELFObjectWriter::HexagonELFObjectWriter(uint8_t OSABI, StringRef C)
     : MCELFObjectTargetWriter(/*Is64bit*/ false, OSABI, ELF::EM_HEXAGON,
                               /*HasRelocationAddend*/ true),
-      _CPU(CPU) {}
+      CPU(C) {}
 
 unsigned HexagonELFObjectWriter::GetRelocType(MCValue const &/*Target*/,
                                               MCFixup const &Fixup,





More information about the llvm-commits mailing list