[PATCH] D110730: [SystemZ][z/OS] Introduce initial support for GOFF asm parser

Kai Nacke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 30 10:53:52 PDT 2021


Kai added inline comments.


================
Comment at: llvm/unittests/MC/SystemZ/SystemZAsmLexerTest.cpp:128
+
+class SystemZAsmLexerZOS : public SystemZAsmLexerTest {
+protected:
----------------
uweigand wrote:
> Kai wrote:
> > The name should be `SystemZAsmLexerzOS` - as the name of the OS is z/OS.
> On the other hand, as the first letter of a component in camel case, shouldn't the "z" still be capitalized?  LexerzOS looks a bit weird to me :-)
Agree about the look.
IMHO we should make sure that we do not introduce too many variants of the name in the source. E.g. we already have `isOSzOS()` in the `Triple` class.
If we continue to use ZOS as the name in all identifiers, then I am ok with that.



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110730



More information about the llvm-commits mailing list