[all-commits] [llvm/llvm-project] 41a608: [clangd] Fix a crash in semantic highlighting.

Haojian Wu via All-commits all-commits at lists.llvm.org
Tue Feb 7 05:55:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41a6085252efe4c2b806e03d923c0b0b35fc3baa
      https://github.com/llvm/llvm-project/commit/41a6085252efe4c2b806e03d923c0b0b35fc3baa
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2023-02-07 (Tue, 07 Feb 2023)

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

  Log Message:
  -----------
  [clangd] Fix a crash in semantic highlighting.

We encounter a few internal reports that we're dereference a nullptr.
Unfortunately, no small reproduce testcase for this crash yet, but it makes the
clangd more robost on broken code.

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




More information about the All-commits mailing list