r192640 - Trivial formatting changes; no functional changes intended.
Aaron Ballman
aaron at aaronballman.com
Mon Oct 14 16:26:04 PDT 2013
Author: aaronballman
Date: Mon Oct 14 18:26:04 2013
New Revision: 192640
URL: http://llvm.org/viewvc/llvm-project?rev=192640&view=rev
Log:
Trivial formatting changes; no functional changes intended.
Modified:
cfe/trunk/lib/Sema/SemaDeclAttr.cpp
Modified: cfe/trunk/lib/Sema/SemaDeclAttr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclAttr.cpp?rev=192640&r1=192639&r2=192640&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclAttr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclAttr.cpp Mon Oct 14 18:26:04 2013
@@ -1029,8 +1029,8 @@ static bool checkForConsumableClass(Sema
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 handleReturnTypestateAttr(Se
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 handleSetTypestateAttr(Sema
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) <<
More information about the cfe-commits
mailing list