Skip to content

Commit bc43053

Browse files
committed
Rename check function
Signed-off-by: Larsen, Steffen <[email protected]>
1 parent 9f739ec commit bc43053

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/CodeGen/CGCall.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2995,7 +2995,7 @@ namespace {
29952995
};
29962996
}
29972997

2998-
static bool HasSYCLRestrictPropertyIRAttr(const VarDecl *Arg,
2998+
static bool hasSYCLRestrictPropertyIRAttr(const VarDecl *Arg,
29992999
const ASTContext &Context) {
30003000
auto *IRAttr = Arg->getAttr<SYCLAddIRAttributesKernelParameterAttr>();
30013001
if (!IRAttr)
@@ -3237,7 +3237,7 @@ void CodeGenFunction::EmitFunctionProlog(const CGFunctionInfo &FI,
32373237
(Arg->getType()->isPointerType() &&
32383238
((CurCodeDecl &&
32393239
CurCodeDecl->hasAttr<SYCLIntelKernelArgsRestrictAttr>()) ||
3240-
HasSYCLRestrictPropertyIRAttr(Arg, getContext()))) ||
3240+
hasSYCLRestrictPropertyIRAttr(Arg, getContext()))) ||
32413241
(Arg->hasAttr<RestrictAttr>() && Arg->getType()->isPointerType()))
32423242
AI->addAttr(llvm::Attribute::NoAlias);
32433243
}

0 commit comments

Comments
 (0)