[clang-tools-extra] [clang-tidy]unused using decls only check cpp files (PR #77335)

via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 8 08:28:59 PST 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff bda562519b89ea3832be00d8ac75cfcdb924dce2 39fae7adcdc97b4781911097f5f09c5bf8266d1c -- clang-tools-extra/clang-tidy/misc/UnusedUsingDeclsCheck.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang-tools-extra/clang-tidy/misc/UnusedUsingDeclsCheck.h b/clang-tools-extra/clang-tidy/misc/UnusedUsingDeclsCheck.h
index aab9a57b8b..498b3ffd26 100644
--- a/clang-tools-extra/clang-tidy/misc/UnusedUsingDeclsCheck.h
+++ b/clang-tools-extra/clang-tidy/misc/UnusedUsingDeclsCheck.h
@@ -29,7 +29,7 @@ public:
   bool isLanguageVersionSupported(const LangOptions &LangOpts) const override {
     return LangOpts.CPlusPlus;
   }
-  
+
 private:
   void removeFromFoundDecls(const Decl *D);
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/77335


More information about the cfe-commits mailing list