[all-commits] [llvm/llvm-project] 981e3a: [clangd] Set diag data before emitting

kadir ├žetinkaya via All-commits all-commits at lists.llvm.org
Thu Feb 23 07:12:21 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 981e3a35a14541afc6fa338abf3f31895b80eed9
      https://github.com/llvm/llvm-project/commit/981e3a35a14541afc6fa338abf3f31895b80eed9
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2023-02-23 (Thu, 23 Feb 2023)

  Changed paths:
    M clang-tools-extra/clangd/Diagnostics.cpp
    M clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp

  Log Message:
  -----------
  [clangd] Set diag data before emitting

Also fixes a benign use-after-free.

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




More information about the All-commits mailing list