[all-commits] [llvm/llvm-project] 2378a6: [clangd] Fix null check in FindTarget.

Sam McCall via All-commits all-commits at lists.llvm.org
Wed Jun 10 01:31:41 PDT 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 2378a6e4f136d574c294da72f2dde0225ba05e89
      https://github.com/llvm/llvm-project/commit/2378a6e4f136d574c294da72f2dde0225ba05e89
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

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

  Log Message:
  -----------
  [clangd] Fix null check in FindTarget.

I've hit this stack trace a few times but don't have a good reproducer.
The code is unsafe by inspection, though.

(cherry picked from commit 9a5c448a31bacc08e73fcae4636094f9b6e2be6a)




More information about the All-commits mailing list