[all-commits] [llvm/llvm-project] de9611: [NFC] Don't pass temporary LangOptions to Lexer

Jorge Gorbe Moya via All-commits all-commits at lists.llvm.org
Mon Feb 28 12:55:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: de9611befeebeb85324062cb1ae8978a82a09e26
      https://github.com/llvm/llvm-project/commit/de9611befeebeb85324062cb1ae8978a82a09e26
  Author: Jorge Gorbe Moya <jgorbe at google.com>
  Date:   2022-02-28 (Mon, 28 Feb 2022)

  Changed paths:
    M clang-tools-extra/clangd/Format.cpp

  Log Message:
  -----------
  [NFC] Don't pass temporary LangOptions to Lexer

Since https://reviews.llvm.org/D120334, passing a temporary LangOptions
object to Lexer results in stack-use-after-scope.




More information about the All-commits mailing list