[all-commits] [llvm/llvm-project] 5c056b: [clang-format] Clean up unit tests from commit 13b...

Owen Pan via All-commits all-commits at lists.llvm.org
Mon Apr 8 21:20:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c056b32350e834924356b1af78504d261d24e42
      https://github.com/llvm/llvm-project/commit/5c056b32350e834924356b1af78504d261d24e42
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-04-08 (Mon, 08 Apr 2024)

  Changed paths:
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Clean up unit tests from commit 13be0d4a34c4

- Use 1-parameter verifyFormat() to verify formatted input in LLVM style.
- Pass string literal instead of constructed StringRef to verifyFormat().
- Don't include trailing newlines if not needed.



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