[all-commits] [llvm/llvm-project] 595212: clang-tidy and clang-query wont crash with invalid...

Nathan James via All-commits all-commits at lists.llvm.org
Sun May 31 09:41:45 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5952125691571de9bd817551fb1baabe270e73f9
      https://github.com/llvm/llvm-project/commit/5952125691571de9bd817551fb1baabe270e73f9
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2020-05-31 (Sun, 31 May 2020)

  Changed paths:
    M clang-tools-extra/clang-query/tool/ClangQuery.cpp
    M clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
    A clang-tools-extra/test/clang-query/invalid-command-line.cpp
    A clang-tools-extra/test/clang-tidy/infrastructure/invalid-command-line.cpp

  Log Message:
  -----------
  clang-tidy and clang-query wont crash with invalid command line options

Motivated by [[ https://bugs.llvm.org/show_bug.cgi?id=46141 | clang-tidy crashed for unknown command line argument. ]]

Reviewed By: aaron.ballman, thakis

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




More information about the All-commits mailing list