clang-format likes this format. PR35989.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@322783
91177308-0d34-0410-b5e6-
96231b3b80d8
(?:,\s*([^\s,]+)\s*
,\s*([^\s,]+)\s*)?
(?:,\s*\d+\s*)?
- \)\s*{\s*$""", declaration, flags=re.X)
+ \)\s*{""", declaration, flags=re.X)
if m:
p, n, result, name = m.groups()[0:4]
args = m.groups()[4:]
/// \code
/// void nope();
/// \endcode
-AST_MATCHER(FunctionDecl, isNoReturn) {
- return Node.isNoReturn();
-}
+AST_MATCHER(FunctionDecl, isNoReturn) { return Node.isNoReturn(); }
/// \brief Matches the return type of a function declaration.
///