[PATCH] D91882: [NFC][AIX][XCOFF] change function name from getNumofGPRsSaved to getNumOfGPRsSaved

Digger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 20 10:58:04 PST 2020


DiggerLin created this revision.
DiggerLin added a reviewer: jasonliu.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
DiggerLin requested review of this revision.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D91882

Files:
  llvm/include/llvm/Object/XCOFFObjectFile.h
  llvm/lib/Object/XCOFFObjectFile.cpp
  llvm/unittests/Object/XCOFFObjectFileTest.cpp


Index: llvm/unittests/Object/XCOFFObjectFileTest.cpp
===================================================================
--- llvm/unittests/Object/XCOFFObjectFileTest.cpp
+++ llvm/unittests/Object/XCOFFObjectFileTest.cpp
@@ -75,7 +75,7 @@
 
   EXPECT_FALSE(TT.hasExtensionTable());
   EXPECT_FALSE(TT.hasVectorInfo());
-  EXPECT_EQ(TT.getNumofGPRsSaved(), 0);
+  EXPECT_EQ(TT.getNumOfGPRsSaved(), 0);
 
   EXPECT_EQ(TT.getNumberOfFixedParms(), 1);
 
Index: llvm/lib/Object/XCOFFObjectFile.cpp
===================================================================
--- llvm/lib/Object/XCOFFObjectFile.cpp
+++ llvm/lib/Object/XCOFFObjectFile.cpp
@@ -1133,7 +1133,7 @@
   return GETBITWITHMASK(4, HasVectorInfoMask);
 }
 
-uint8_t XCOFFTracebackTable::getNumofGPRsSaved() const {
+uint8_t XCOFFTracebackTable::getNumOfGPRsSaved() const {
   return GETBITWITHMASKSHIFT(4, GPRSavedMask, GPRSavedShift);
 }
 
Index: llvm/include/llvm/Object/XCOFFObjectFile.h
===================================================================
--- llvm/include/llvm/Object/XCOFFObjectFile.h
+++ llvm/include/llvm/Object/XCOFFObjectFile.h
@@ -469,7 +469,7 @@
 
   bool hasVectorInfo() const;
   bool hasExtensionTable() const;
-  uint8_t getNumofGPRsSaved() const;
+  uint8_t getNumOfGPRsSaved() const;
 
   uint8_t getNumberOfFixedParms() const;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91882.306741.patch
Type: text/x-patch
Size: 1322 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201120/e6f3a037/attachment.bin>


More information about the llvm-commits mailing list