[PATCH] D79437: [clang-tidy] Add fsetpos argument checker

Whisperity via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 9 01:58:39 PDT 2020


whisperity added inline comments.


================
Comment at: clang-tools-extra/test/clang-tidy/checkers/bugprone-fsetpos-argument-check.cpp:1
+// RUN: %check_clang_tidy %s bugprone-fsetpos-argument-check %t
+
----------------
This is a C, not a C++ file, the extension should show it. In addition, a similar test should be added that uses `std::fgetpos()` and `std::fsetpos()`, and shows the matching still works.


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79437/new/

https://reviews.llvm.org/D79437





More information about the cfe-commits mailing list