[all-commits] [llvm/llvm-project] 738e7f: Fix false positive in `bugprone-throw-keyword-miss...

FabianWolff via All-commits all-commits at lists.llvm.org
Tue Nov 16 04:10:07 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 738e7f1231949ec248c1d8d154783338215613d1
      https://github.com/llvm/llvm-project/commit/738e7f1231949ec248c1d8d154783338215613d1
  Author: Fabian Wolff <fabian.wolff at alumni.ethz.ch>
  Date:   2021-11-16 (Tue, 16 Nov 2021)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/ThrowKeywordMissingCheck.cpp
    M clang-tools-extra/test/clang-tidy/checkers/bugprone-throw-keyword-missing.cpp

  Log Message:
  -----------
  Fix false positive in `bugprone-throw-keyword-missing` check

Fixes PR#52400. The tests for bugprone-throw-keyword-missing actually
already contain exceptions as class members, but not as members with
initializers, which was probably just an oversight.




More information about the All-commits mailing list