[all-commits] [llvm/llvm-project] ddb445: [ClangFormat] Fix indent in child lines within a m...

r4nt via All-commits all-commits at lists.llvm.org
Fri Feb 23 04:18:11 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ddb4450a468072b5c066c29f4821edec4689d500
      https://github.com/llvm/llvm-project/commit/ddb4450a468072b5c066c29f4821edec4689d500
  Author: r4nt <klimek at google.com>
  Date:   2024-02-23 (Fri, 23 Feb 2024)

  Changed paths:
    M clang/lib/Format/MacroCallReconstructor.cpp
    M clang/lib/Format/Macros.h
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/lib/Format/UnwrappedLineParser.h
    M clang/unittests/Format/FormatTestMacroExpansion.cpp
    M clang/unittests/Format/MacroCallReconstructorTest.cpp

  Log Message:
  -----------
  [ClangFormat] Fix indent in child lines within a macro argument. (#82523)

When reconstructing lines from a macro expansion, make sure that lines
at different levels in the expanded code get indented correctly as part
of the macro argument.



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