From fc3d72eeea942e71a4dc5174e925a5e7d52a7e5a Mon Sep 17 00:00:00 2001 From: George Karpenkov Date: Mon, 23 Jul 2018 22:29:35 +0000 Subject: [ASTMatchers] Add an isMain() matcher Differential Revision: https://reviews.llvm.org/D49615 llvm-svn: 337761 --- clang/docs/LibASTMatchersReference.html | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'clang/docs/LibASTMatchersReference.html') diff --git a/clang/docs/LibASTMatchersReference.html b/clang/docs/LibASTMatchersReference.html index 3a32c6ca6c2..49899c30865 100644 --- a/clang/docs/LibASTMatchersReference.html +++ b/clang/docs/LibASTMatchersReference.html @@ -2919,6 +2919,12 @@ namespaceDecl(isInline()) will match n::m. +Matcher<FunctionDecl>isMain +
Determines whether the function is "main", which is the entry point
+into an executable program.
+
+ + Matcher<FunctionDecl>isNoReturn
Matches FunctionDecls that have a noreturn attribute.
 
-- 
cgit v1.2.3