Mercurial > hg > CbC > CbC_llvm
comparison clang-tools-extra/clang-tidy/android/CloexecInotifyInitCheck.h @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 1d019706d866 |
children | 1f2b6ac9f198 |
comparison
equal
deleted
inserted
replaced
232:70dce7da266c | 236:c4bab56944e8 |
---|---|
16 namespace android { | 16 namespace android { |
17 | 17 |
18 /// inotify_init() is better to be replaced by inotify_init1(). | 18 /// inotify_init() is better to be replaced by inotify_init1(). |
19 /// | 19 /// |
20 /// For the user-facing documentation see: | 20 /// For the user-facing documentation see: |
21 /// http://clang.llvm.org/extra/clang-tidy/checks/android-cloexec-inotify-init.html | 21 /// http://clang.llvm.org/extra/clang-tidy/checks/android/cloexec-inotify-init.html |
22 class CloexecInotifyInitCheck : public CloexecCheck { | 22 class CloexecInotifyInitCheck : public CloexecCheck { |
23 public: | 23 public: |
24 CloexecInotifyInitCheck(StringRef Name, ClangTidyContext *Context) | 24 CloexecInotifyInitCheck(StringRef Name, ClangTidyContext *Context) |
25 : CloexecCheck(Name, Context) {} | 25 : CloexecCheck(Name, Context) {} |
26 void registerMatchers(ast_matchers::MatchFinder *Finder) override; | 26 void registerMatchers(ast_matchers::MatchFinder *Finder) override; |