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

Sam McCall via All-commits all-commits at lists.llvm.org
Tue Jan 28 17:03:13 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a5c448a31bacc08e73fcae4636094f9b6e2be6a
      https://github.com/llvm/llvm-project/commit/9a5c448a31bacc08e73fcae4636094f9b6e2be6a
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2020-01-29 (Wed, 29 Jan 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.




More information about the All-commits mailing list