[all-commits] [llvm/llvm-project] 229e39: [llvm][StringExtras] Merge StringExtras from MLIR ...

River Riddle via All-commits all-commits at lists.llvm.org
Tue Apr 14 19:03:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 229e392b4edb65b69caa49644cdeaa358095146d
      https://github.com/llvm/llvm-project/commit/229e392b4edb65b69caa49644cdeaa358095146d
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-04-14 (Tue, 14 Apr 2020)

  Changed paths:
    M llvm/include/llvm/ADT/StringExtras.h
    M llvm/lib/Support/StringExtras.cpp
    M llvm/unittests/ADT/StringExtrasTest.cpp
    R mlir/include/mlir/Support/StringExtras.h
    M mlir/lib/Dialect/SPIRV/SPIRVDialect.cpp
    M mlir/lib/Dialect/SPIRV/SPIRVOps.cpp
    M mlir/lib/Dialect/SPIRV/Serialization/Deserializer.cpp
    M mlir/lib/Dialect/SPIRV/Serialization/Serializer.cpp
    M mlir/tools/mlir-tblgen/DialectGen.cpp
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
    M mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp
    M mlir/tools/mlir-vulkan-runner/VulkanRuntime.h
    M mlir/unittests/IR/CMakeLists.txt
    R mlir/unittests/IR/StringExtrasTest.cpp

  Log Message:
  -----------
  [llvm][StringExtras] Merge StringExtras from MLIR into LLVM

Summary:
This revision adds two utilities currently present in MLIR to LLVM StringExtras:

* convertToSnakeFromCamelCase
Convert a string from a camel case naming scheme, to a snake case scheme

* convertToCamelFromSnakeCase
Convert a string from a snake case naming scheme, to a camel case scheme

Differential Revision: https://reviews.llvm.org/D78167




More information about the All-commits mailing list