[cfe-commits] r160657 - /cfe/trunk/lib/Sema/SemaDeclAttr.cpp
Nick Lewycky
nicholas at mxc.ca
Mon Jul 23 18:31:55 PDT 2012
Author: nicholas
Date: Mon Jul 23 20:31:55 2012
New Revision: 160657
URL: http://llvm.org/viewvc/llvm-project?rev=160657&view=rev
Log:
Fix whitespace, tabs to spaces. No functionality change.
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=160657&r1=160656&r2=160657&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclAttr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclAttr.cpp Mon Jul 23 20:31:55 2012
@@ -84,7 +84,7 @@
/// type (function or function-typed variable) or an Objective-C
/// method.
static bool isFunctionOrMethod(const Decl *D) {
- return isFunction(D)|| isa<ObjCMethodDecl>(D);
+ return isFunction(D) || isa<ObjCMethodDecl>(D);
}
/// isFunctionOrMethodOrBlock - Return true if the given decl has function
@@ -622,7 +622,7 @@
Expr **StartArg = &Args[0];
D->addAttr(::new (S.Context) AcquiredAfterAttr(Attr.getRange(), S.Context,
- StartArg, Args.size()));
+ StartArg, Args.size()));
}
static void handleAcquiredBeforeAttr(Sema &S, Decl *D,
@@ -633,7 +633,7 @@
Expr **StartArg = &Args[0];
D->addAttr(::new (S.Context) AcquiredBeforeAttr(Attr.getRange(), S.Context,
- StartArg, Args.size()));
+ StartArg, Args.size()));
}
static bool checkLockFunAttrCommon(Sema &S, Decl *D,
@@ -766,7 +766,7 @@
Expr **StartArg = &Args[0];
D->addAttr(::new (S.Context) ExclusiveLocksRequiredAttr(Attr.getRange(),
- S.Context,
+ S.Context,
StartArg,
Args.size()));
}
@@ -779,7 +779,7 @@
Expr **StartArg = &Args[0];
D->addAttr(::new (S.Context) SharedLocksRequiredAttr(Attr.getRange(),
- S.Context,
+ S.Context,
StartArg,
Args.size()));
}
@@ -2462,7 +2462,7 @@
// Handles reqd_work_group_size and work_group_size_hint.
static void handleWorkGroupSize(Sema &S, Decl *D,
- const AttributeList &Attr) {
+ const AttributeList &Attr) {
assert(Attr.getKind() == AttributeList::AT_ReqdWorkGroupSize
|| Attr.getKind() == AttributeList::AT_WorkGroupSizeHint);
More information about the cfe-commits
mailing list