Skip to content

Commit 45f6bc3

Browse files
committed
clang-format
1 parent d6ff7dc commit 45f6bc3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/AST/ASTContext.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7224,8 +7224,7 @@ static bool isSameQualifier(const NestedNameSpecifier *X,
72247224
return !PX && !PY;
72257225
}
72267226

7227-
static bool hasSameCudaAttrs(const FunctionDecl *A,
7228-
const FunctionDecl *B) {
7227+
static bool hasSameCudaAttrs(const FunctionDecl *A, const FunctionDecl *B) {
72297228
if (!A->getASTContext().getLangOpts().CUDA)
72307229
return true; // Target attributes are overloadable in CUDA compilation only.
72317230
if (A->hasAttr<CUDADeviceAttr>() != B->hasAttr<CUDADeviceAttr>())

0 commit comments

Comments
 (0)