[all-commits] [llvm/llvm-project] 1fd204: [clang-tidy][NFC] Added convienence methods for ge...

Nathan James via All-commits all-commits at lists.llvm.org
Fri Jul 31 17:45:57 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fd2049e38daf0992f63883d68609b85dfb9cb26
      https://github.com/llvm/llvm-project/commit/1fd2049e38daf0992f63883d68609b85dfb9cb26
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2020-08-01 (Sat, 01 Aug 2020)

  Changed paths:
    M clang-tools-extra/clang-tidy/ClangTidyCheck.cpp
    M clang-tools-extra/clang-tidy/ClangTidyCheck.h

  Log Message:
  -----------
  [clang-tidy][NFC] Added convienence methods for getting optional options

These methods abstract away Error handling when trying to read options that can't be parsed by logging the error automatically and returning None.

Reviewed By: gribozavr2

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




More information about the All-commits mailing list