[PATCH] D102220: [NFC, CFI] Use unsigned type for CFI register values in parser/streamer code

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 11 14:24:30 PDT 2021


MaskRay added inline comments.


================
Comment at: llvm/lib/MC/MCAsmStreamer.cpp:62
 
-  void EmitRegisterName(int64_t Register);
+  void EmitRegisterName(uint64_t Register);
   void PrintQuotedString(StringRef Data, raw_ostream &OS) const;
----------------
If you are changing the interface, you can rename the function to camelCase in the meanwhile.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102220/new/

https://reviews.llvm.org/D102220



More information about the llvm-commits mailing list