[all-commits] [llvm/llvm-project] 2d5c4b: Fix use of dangling stack allocated string in Incl...

David Goldman via All-commits all-commits at lists.llvm.org
Wed Nov 16 11:09:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d5c4b8f6e040eef33d4f49820868a81c4c9f1e9
      https://github.com/llvm/llvm-project/commit/2d5c4b8f6e040eef33d4f49820868a81c4c9f1e9
  Author: David Goldman <davg at google.com>
  Date:   2022-11-16 (Wed, 16 Nov 2022)

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

  Log Message:
  -----------
  Fix use of dangling stack allocated string in IncludeFixer

IncludeFixer uses this BuildDir string later on if given relative paths.

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




More information about the All-commits mailing list