[all-commits] [llvm/llvm-project] 2b3e07: [utils][TableGen] Unify converting names to upper-...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Thu Jun 5 05:34:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b3e07f4852dc4e9c3dbea89c138cfe902e30953
      https://github.com/llvm/llvm-project/commit/2b3e07f4852dc4e9c3dbea89c138cfe902e30953
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2025-06-05 (Thu, 05 Jun 2025)

  Changed paths:
    M llvm/include/llvm/TableGen/DirectiveEmitter.h
    M llvm/utils/TableGen/Basic/DirectiveEmitter.cpp

  Log Message:
  -----------
  [utils][TableGen] Unify converting names to upper-camel case (#141762)

There were 3 different functions in DirectiveEmitter.cpp doing
essentially the same thing: taking a name separated with _ or whitepace,
and converting it to the upper-camel case. Extract that into a single
function that can handle different sets of separators.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list