From: Anastasia Stulova Date: Fri, 1 Apr 2016 16:05:09 +0000 (+0000) Subject: [OpenCL] Moved nosvm attribute handling in Sema to other OpenCL attrs X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c648b00b4f4fef7ad4e76f14fe46185f98ce4ec2;p=clang [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 --- diff --git a/lib/Sema/SemaDeclAttr.cpp b/lib/Sema/SemaDeclAttr.cpp index 5e4ef3a072..89c7eafa03 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;