From: Aaron Ballman Date: Mon, 14 Oct 2013 23:26:04 +0000 (+0000) Subject: Trivial formatting changes; no functional changes intended. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9aa926143ba36c09bea5b93b22205b30784a7a04;p=clang Trivial formatting changes; no functional changes intended. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192640 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaDeclAttr.cpp b/lib/Sema/SemaDeclAttr.cpp index b9ff477542..c08767574c 100644 --- a/lib/Sema/SemaDeclAttr.cpp +++ b/lib/Sema/SemaDeclAttr.cpp @@ -1029,8 +1029,8 @@ static bool checkForConsumableClass(Sema &S, const CXXMethodDecl *MD, static void handleCallableWhenAttr(Sema &S, Decl *D, const AttributeList &Attr) { - - if (!checkAttributeAtLeastNumArgs(S, Attr, 1)) return; + if (!checkAttributeAtLeastNumArgs(S, Attr, 1)) + return; if (!isa(D)) { S.Diag(Attr.getLoc(), diag::warn_attribute_wrong_decl_type) << @@ -1118,7 +1118,8 @@ static void handleReturnTypestateAttr(Sema &S, Decl *D, static void handleSetTypestateAttr(Sema &S, Decl *D, const AttributeList &Attr) { - if (!checkAttributeNumArgs(S, Attr, 1)) return; + if (!checkAttributeNumArgs(S, Attr, 1)) + return; if (!isa(D)) { S.Diag(Attr.getLoc(), diag::warn_attribute_wrong_decl_type) << @@ -1151,7 +1152,8 @@ static void handleSetTypestateAttr(Sema &S, Decl *D, const AttributeList &Attr) static void handleTestsTypestateAttr(Sema &S, Decl *D, const AttributeList &Attr) { - if (!checkAttributeNumArgs(S, Attr, 1)) return; + if (!checkAttributeNumArgs(S, Attr, 1)) + return; if (!isa(D)) { S.Diag(Attr.getLoc(), diag::warn_attribute_wrong_decl_type) <<