[all-commits] [llvm/llvm-project] 1241c7: [clang-format] Don't insert a space between :: and...

Owen Pan via All-commits all-commits at lists.llvm.org
Mon Aug 26 00:19:02 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 1241c762c165972690c4edfb82ec7421c1e64658
      https://github.com/llvm/llvm-project/commit/1241c762c165972690c4edfb82ec7421c1e64658
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2024-08-26 (Mon, 26 Aug 2024)

  Changed paths:
    M clang/lib/Format/TokenAnnotator.cpp
    M clang/unittests/Format/FormatTest.cpp
    M clang/unittests/Format/QualifierFixerTest.cpp

  Log Message:
  -----------
  [clang-format] Don't insert a space between :: and * (#105043)

Also, don't insert a space after ::* for method pointers.

See
https://github.com/llvm/llvm-project/pull/86253#issuecomment-2298404887.

Fixes #100841.

(cherry picked from commit 714033a6bf3a81b1350f969ddd83bcd9fbb703e8)



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