From fde7622ec06cbaba013685088146507ad6f9a755 Mon Sep 17 00:00:00 2001 From: Anastasia Stulova Date: Fri, 1 Apr 2016 16:05:09 +0000 Subject: [PATCH] [OpenCL] Moved nosvm attribute handling in Sema to other OpenCL attrs llvm-svn: 265146 --- clang/lib/Sema/SemaDeclAttr.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp index 5e4ef3a..89c7eaf 100644 --- a/clang/lib/Sema/SemaDeclAttr.cpp +++ b/clang/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; -- 2.7.4