[all-commits] [llvm/llvm-project] 34d268: [clang-tidy] Use a MemoryBufferRef when parsing co...

Nathan James via All-commits all-commits at lists.llvm.org
Thu Dec 10 06:57:16 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 34d2688a50f23b4b15bdeab054e28e033ece9363
      https://github.com/llvm/llvm-project/commit/34d2688a50f23b4b15bdeab054e28e033ece9363
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2020-12-10 (Thu, 10 Dec 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/ClangTidyOptions.cpp
    M clang-tools-extra/clang-tidy/ClangTidyOptions.h
    M clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
    M clang-tools-extra/clangd/TidyProvider.cpp
    M clang-tools-extra/unittests/clang-tidy/ClangTidyOptionsTest.cpp

  Log Message:
  -----------
  [clang-tidy] Use a MemoryBufferRef when parsing configuration files.

Using a MemoryBufferRef, If there is an error parsing, we can point the user to the location of the file.

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list