[OpenCL] Moved nosvm attribute handling in Sema to other OpenCL attrs

llvm-svn: 265146
This commit is contained in:
Anastasia Stulova 2016-04-01 16:05:09 +00:00
parent 99c67b31cb
commit fde7622ec0
1 changed files with 3 additions and 3 deletions

View File

@ -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;