[all-commits] [llvm/llvm-project] 4d4899: [clang-format][NFC] Clean up around StringRef init...

Owen Pan via All-commits all-commits at lists.llvm.org
Mon Jul 21 19:11:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4d48996ff05305d4a5774f3e232c2ee4a06c3d2a
      https://github.com/llvm/llvm-project/commit/4d48996ff05305d4a5774f3e232c2ee4a06c3d2a
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M clang/lib/Format/BreakableToken.cpp
    M clang/lib/Format/IntegerLiteralSeparatorFixer.cpp
    M clang/lib/Format/IntegerLiteralSeparatorFixer.h
    M clang/lib/Format/ObjCPropertyAttributeOrderFixer.cpp
    M clang/unittests/Format/BracesInserterTest.cpp
    M clang/unittests/Format/FormatTest.cpp
    M clang/unittests/Format/FormatTestComments.cpp
    M clang/unittests/Format/FormatTestJava.cpp
    M clang/unittests/Format/FormatTestSelective.cpp
    M clang/unittests/Format/IntegerLiteralSeparatorTest.cpp
    M clang/unittests/Format/SortIncludesTest.cpp
    M clang/unittests/Format/TokenAnnotatorTest.cpp

  Log Message:
  -----------
  [clang-format][NFC] Clean up around StringRef initializations (#149765)

Consistently use `constexpr StringRef Code("string literal");`.



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