[all-commits] [llvm/llvm-project] b26c88: [clang-tidy] Store all ranges in clang::tooling::D...

alexfh via All-commits all-commits at lists.llvm.org
Thu Feb 27 10:39:51 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b26c88e3c6e08f8f78ab4291bc85b5685241f493
      https://github.com/llvm/llvm-project/commit/b26c88e3c6e08f8f78ab4291bc85b5685241f493
  Author: Joe Turner <joturner at google.com>
  Date:   2020-02-27 (Thu, 27 Feb 2020)

  Changed paths:
    M clang-tools-extra/unittests/clang-apply-replacements/ApplyReplacementsTest.cpp
    M clang/include/clang/Tooling/Core/Diagnostic.h
    M clang/include/clang/Tooling/DiagnosticsYaml.h
    M clang/lib/Tooling/Core/Diagnostic.cpp
    M clang/unittests/Tooling/DiagnosticsYamlTest.cpp

  Log Message:
  -----------
  [clang-tidy] Store all ranges in clang::tooling::Diagnostic

Summary: Instead of dropping all the ranges associated with a Diagnostic when
converting them to a ClangTidy error, instead attach them to the ClangTidyError,
so they can be consumed by other APIs.

Patch by Joe Turner <joturner at google.com>.
Differential Revision: https://reviews.llvm.org/D69782




More information about the All-commits mailing list