10 #include "../utils/ASTUtils.h"
11 #include "clang/AST/ASTContext.h"
12 #include "clang/ASTMatchers/ASTMatchFinder.h"
18 void CloexecInotifyInit1Check::registerMatchers(MatchFinder *Finder) {
20 Finder, functionDecl(returns(isInteger()), hasName(
"inotify_init1"),
21 hasParameter(0, hasType(isInteger()))));
25 insertMacroFlag(Result,
"IN_CLOEXEC", 0);