aboutsummaryrefslogtreecommitdiffstats
path: root/clang-plugin/printf_check.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-07-26 10:49:23 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-07-26 10:49:23 +0100
commit537a7180a0d5132c11636c4fd8b1450cd99d352c (patch)
treefb9f8c84955a411bdffbd6371ea32f2716fb3687 /clang-plugin/printf_check.h
parent5fd7a90fdaa33f52c59bdb0ca84451e5c1e22365 (diff)
downloadrspamd-537a7180a0d5132c11636c4fd8b1450cd99d352c.tar.gz
rspamd-537a7180a0d5132c11636c4fd8b1450cd99d352c.zip
[Rework] Use clang-format to unify formatting in all sources
No meaningful changes.
Diffstat (limited to 'clang-plugin/printf_check.h')
-rw-r--r--clang-plugin/printf_check.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/clang-plugin/printf_check.h b/clang-plugin/printf_check.h
index 82eed6caa..6e0b1d165 100644
--- a/clang-plugin/printf_check.h
+++ b/clang-plugin/printf_check.h
@@ -24,16 +24,16 @@
namespace rspamd {
- class PrintfCheckVisitor : public clang::RecursiveASTVisitor<PrintfCheckVisitor> {
- class impl;
- std::unique_ptr<impl> pimpl;
+class PrintfCheckVisitor : public clang::RecursiveASTVisitor<PrintfCheckVisitor> {
+ class impl;
+ std::unique_ptr<impl> pimpl;
- public:
- PrintfCheckVisitor (clang::ASTContext *ctx, clang::CompilerInstance &ci);
- virtual ~PrintfCheckVisitor (void);
- bool VisitCallExpr (clang::CallExpr *E);
- };
+public:
+ PrintfCheckVisitor(clang::ASTContext *ctx, clang::CompilerInstance &ci);
+ virtual ~PrintfCheckVisitor(void);
+ bool VisitCallExpr(clang::CallExpr *E);
+};
-}
+}// namespace rspamd
#endif