From c648b00b4f4fef7ad4e76f14fe46185f98ce4ec2 Mon Sep 17 00:00:00 2001 From: Anastasia Stulova <anastasia.stulova@arm.com> Date: Fri, 1 Apr 2016 16:05:09 +0000 Subject: [PATCH] [OpenCL] Moved nosvm attribute handling in Sema to other OpenCL attrs git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@265146 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaDeclAttr.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Sema/SemaDeclAttr.cpp b/lib/Sema/SemaDeclAttr.cpp index 5e4ef3a072d..89c7eafa037 100644 --- a/lib/Sema/SemaDeclAttr.cpp +++ b/lib/Sema/SemaDeclAttr.cpp @@ -5706,6 +5706,9 @@ static void ProcessDeclAttribute(Sema &S, Scope *scope, Decl *D, case AttributeList::AT_OpenCLAccess: handleOpenCLAccessAttr(S, D, Attr); break; + case AttributeList::AT_OpenCLNoSVM: + handleOpenCLNoSVMAttr(S, D, Attr); + break; case AttributeList::AT_SwiftContext: handleParameterABIAttr(S, D, Attr, ParameterABI::SwiftContext); break; @@ -5715,9 +5718,6 @@ static void ProcessDeclAttribute(Sema &S, Scope *scope, Decl *D, case AttributeList::AT_SwiftIndirectResult: handleParameterABIAttr(S, D, Attr, ParameterABI::SwiftIndirectResult); break; - case AttributeList::AT_OpenCLNoSVM: - handleOpenCLNoSVMAttr(S, D, Attr); - break; case AttributeList::AT_InternalLinkage: handleInternalLinkageAttr(S, D, Attr); break; -- GitLab