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 b9ff477..c087675 100644
--- a/lib/Sema/SemaDeclAttr.cpp
+++ b/lib/Sema/SemaDeclAttr.cpp
@@ -1029,8 +1029,8 @@
static void handleCallableWhenAttr(Sema &S, Decl *D,
const AttributeList &Attr) {
-
- if (!checkAttributeAtLeastNumArgs(S, Attr, 1)) return;
+ if (!checkAttributeAtLeastNumArgs(S, Attr, 1))
+ return;
if (!isa<CXXMethodDecl>(D)) {
S.Diag(Attr.getLoc(), diag::warn_attribute_wrong_decl_type) <<
@@ -1118,7 +1118,8 @@
static void handleSetTypestateAttr(Sema &S, Decl *D, const AttributeList &Attr) {
- if (!checkAttributeNumArgs(S, Attr, 1)) return;
+ if (!checkAttributeNumArgs(S, Attr, 1))
+ return;
if (!isa<CXXMethodDecl>(D)) {
S.Diag(Attr.getLoc(), diag::warn_attribute_wrong_decl_type) <<
@@ -1151,7 +1152,8 @@
static void handleTestsTypestateAttr(Sema &S, Decl *D,
const AttributeList &Attr) {
- if (!checkAttributeNumArgs(S, Attr, 1)) return;
+ if (!checkAttributeNumArgs(S, Attr, 1))
+ return;
if (!isa<CXXMethodDecl>(D)) {
S.Diag(Attr.getLoc(), diag::warn_attribute_wrong_decl_type) <<