[all-commits] [llvm/llvm-project] edfdb5: Consolidate string types into ptr and length repre...

Sterling-Augustine via All-commits all-commits at lists.llvm.org
Tue Jul 20 13:30:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: edfdb5fcd10779905ef960c8d4aa61d46b57f451
      https://github.com/llvm/llvm-project/commit/edfdb5fcd10779905ef960c8d4aa61d46b57f451
  Author: Sterling Augustine <saugustine at google.com>
  Date:   2021-07-20 (Tue, 20 Jul 2021)

  Changed paths:
    M llvm/include/llvm/ADT/Twine.h
    M llvm/lib/Support/Twine.cpp
    M llvm/unittests/ADT/TwineTest.cpp

  Log Message:
  -----------
  Consolidate string types into ptr and length representations.

After rGbbbc4f110e35ac709b943efaa1c4c99ec073da30, we can move
any string type that has convenient pointer and length fields
into the PtrAndLengthKind, reducing the amount of code.

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




More information about the All-commits mailing list