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

Nathan James via All-commits all-commits at lists.llvm.org
Sun May 31 08:02:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f23ddbe3c3ae5f40b99ba272afc3d16b800ba8b9
      https://github.com/llvm/llvm-project/commit/f23ddbe3c3ae5f40b99ba272afc3d16b800ba8b9
  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

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

Reviewers: aaron.ballman, alexfh

Reviewed By: aaron.ballman

Subscribers: cfe-commits

Tags: #clang

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




More information about the All-commits mailing list