[all-commits] [llvm/llvm-project] 254b01: [clangd] More complete fix for hover crashes on in...

Haojian Wu via All-commits all-commits at lists.llvm.org
Mon Jul 6 08:13:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 254b016c6561e4ec4d145b81c4d0aaf3d2c7fca6
      https://github.com/llvm/llvm-project/commit/254b016c6561e4ec4d145b81c4d0aaf3d2c7fca6
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2020-07-06 (Mon, 06 Jul 2020)

  Changed paths:
    M clang-tools-extra/clangd/Hover.cpp
    M clang-tools-extra/clangd/unittests/HoverTests.cpp

  Log Message:
  -----------
  [clangd] More complete fix for hover crashes on invalid record.

 We should not call getFieldOffset on invalid record decls.

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




More information about the All-commits mailing list