aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDeclAttr.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2012-07-24 01:31:55 +0000
committerNick Lewycky <nicholas@mxc.ca>2012-07-24 01:31:55 +0000
commit4ae89bc757f16baeb74ebeea81c43dc5201cb4f2 (patch)
treea06d9fad456380877ff047faca93868a7791f22f /lib/Sema/SemaDeclAttr.cpp
parentaa9cf8d3abd8760d78b20e9194df169bbd8b0f01 (diff)
Fix whitespace, tabs to spaces. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160657 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclAttr.cpp')
-rw-r--r--lib/Sema/SemaDeclAttr.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Sema/SemaDeclAttr.cpp b/lib/Sema/SemaDeclAttr.cpp
index 8f3b00f8c9..db92c0eba4 100644
--- a/lib/Sema/SemaDeclAttr.cpp
+++ b/lib/Sema/SemaDeclAttr.cpp
@@ -84,7 +84,7 @@ static bool isFunction(const Decl *D) {
/// 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 @@ static void handleAcquiredAfterAttr(Sema &S, Decl *D,
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 @@ static void handleAcquiredBeforeAttr(Sema &S, Decl *D,
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 @@ static void handleExclusiveLocksRequiredAttr(Sema &S, Decl *D,
Expr **StartArg = &Args[0];
D->addAttr(::new (S.Context) ExclusiveLocksRequiredAttr(Attr.getRange(),
- S.Context,
+ S.Context,
StartArg,
Args.size()));
}
@@ -779,7 +779,7 @@ static void handleSharedLocksRequiredAttr(Sema &S, Decl *D,
Expr **StartArg = &Args[0];
D->addAttr(::new (S.Context) SharedLocksRequiredAttr(Attr.getRange(),
- S.Context,
+ S.Context,
StartArg,
Args.size()));
}
@@ -2462,7 +2462,7 @@ static void handleWeakImportAttr(Sema &S, Decl *D, const AttributeList &Attr) {
// 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);