[all-commits] [llvm/llvm-project] dae44c: [clang-format] Don't annotate left brace of struct...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Apr 4 11:58:28 PDT 2023


  Branch: refs/heads/release/16.x
  Home:   https://github.com/llvm/llvm-project
  Commit: dae44c8ccc84ef557b646164c185fcda6c15eb5f
      https://github.com/llvm/llvm-project/commit/dae44c8ccc84ef557b646164c185fcda6c15eb5f
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2023-04-04 (Tue, 04 Apr 2023)

  Changed paths:
    M clang/lib/Format/UnwrappedLineParser.cpp
    M clang/unittests/Format/FormatTest.cpp
    M clang/unittests/Format/TokenAnnotatorTest.cpp

  Log Message:
  -----------
  [clang-format] Don't annotate left brace of struct as FunctionLBrace

Related to a02c3af9f19d. Fixes #61700.

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

(cherry picked from commit 767aee1de9e98256a62ae8b4c2f84381203613c3)


  Commit: c3591d714b49c52d4726f376e6f52db481fd8900
      https://github.com/llvm/llvm-project/commit/c3591d714b49c52d4726f376e6f52db481fd8900
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-04-04 (Tue, 04 Apr 2023)

  Changed paths:
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/test/Transforms/SROA/preserve-metadata.ll

  Log Message:
  -----------
  [Local] Handle size mismatch between pointer/int in copyRangeMetadata()

SROA may convert a wide integer load into a narrow pointer load,
make sure we don't crash. It would not be legal to transfer the
metadata in this case.

(cherry picked from commit fc6e91fe8184129d2395b79ce42f4495b95b0d0d)


Compare: https://github.com/llvm/llvm-project/compare/86b0c6e40502...c3591d714b49


More information about the All-commits mailing list