[all-commits] [llvm/llvm-project] a466e4: [clangd] Fix modernize-loop-convert "multiple diag...

Haojian Wu via All-commits all-commits at lists.llvm.org
Fri Apr 24 02:17:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a466e4be3831848d7ff6ffbe4f57d99de8fb66af
      https://github.com/llvm/llvm-project/commit/a466e4be3831848d7ff6ffbe4f57d99de8fb66af
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2020-04-24 (Fri, 24 Apr 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp
    M clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp

  Log Message:
  -----------
  [clangd] Fix modernize-loop-convert "multiple diag in flight" crash.

Summary:
this maybe not ideal, but it is trivial and does fix the crash.

Fixes https://github.com/clangd/clangd/issues/156.

Reviewers: sammccall

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list