[all-commits] [llvm/llvm-project] 156c07: [clang][transformer] Finish plumbing `Note` all th...

Clement Courbet via All-commits all-commits at lists.llvm.org
Wed Aug 10 23:07:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 156c0754bc2ee0b7d198cfeff230374a1961ac04
      https://github.com/llvm/llvm-project/commit/156c0754bc2ee0b7d198cfeff230374a1961ac04
  Author: Clement Courbet <courbet at google.com>
  Date:   2022-08-11 (Thu, 11 Aug 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/utils/TransformerClangTidyCheck.cpp
    M clang-tools-extra/unittests/clang-tidy/TransformerClangTidyCheckTest.cpp
    M clang/include/clang/Tooling/Transformer/RewriteRule.h
    M clang/lib/Tooling/Transformer/RewriteRule.cpp

  Log Message:
  -----------
  [clang][transformer] Finish plumbing `Note` all the way to the output.

Right now we can only add a single warning, notes are not possible.

Apparently some provisions were made to allow notes, but they were never
propagated all the way to the diagnostics.

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




More information about the All-commits mailing list