File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments