[all-commits] [llvm/llvm-project] 445289: [clangd] Fix an assertion violation in rename.

Haojian Wu via All-commits all-commits at lists.llvm.org
Fri Dec 4 03:28:05 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 445289aa63e1b82b9eea6497fb2d0443813a9d4e
      https://github.com/llvm/llvm-project/commit/445289aa63e1b82b9eea6497fb2d0443813a9d4e
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2020-12-04 (Fri, 04 Dec 2020)

  Changed paths:
    M clang-tools-extra/clangd/refactor/Rename.cpp
    M clang-tools-extra/clangd/unittests/RenameTests.cpp

  Log Message:
  -----------
  [clangd] Fix an assertion violation in rename.

NamedDecl::getName() asserts the name must be an identifier.

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




More information about the All-commits mailing list