[all-commits] [llvm/llvm-project] 5a0633: [Format] Capture `FormatStyle` by value to avoid u...

Jordan Rupprecht via All-commits all-commits at lists.llvm.org
Thu Dec 15 20:38:46 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5a06334c51aa75d7f044785a495cf2de5bf13a9c
      https://github.com/llvm/llvm-project/commit/5a06334c51aa75d7f044785a495cf2de5bf13a9c
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2022-12-15 (Thu, 15 Dec 2022)

  Changed paths:
    M clang/lib/Format/Format.cpp

  Log Message:
  -----------
  [Format] Capture `FormatStyle` by value to avoid use-after-free.

Fixes the test failure in 240e29c5015d246de7fb5e4421aa93042fada59b, reported on the D140058 review thread.




More information about the All-commits mailing list