r265146 - [OpenCL] Moved nosvm attribute handling in Sema to other OpenCL attrs
Anastasia Stulova via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 1 09:05:10 PDT 2016
Author: stulova
Date: Fri Apr 1 11:05:09 2016
New Revision: 265146
URL: http://llvm.org/viewvc/llvm-project?rev=265146&view=rev
Log:
[OpenCL] Moved nosvm attribute handling in Sema to other OpenCL attrs
Modified:
cfe/trunk/lib/Sema/SemaDeclAttr.cpp
Modified: cfe/trunk/lib/Sema/SemaDeclAttr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclAttr.cpp?rev=265146&r1=265145&r2=265146&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclAttr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclAttr.cpp Fri Apr 1 11:05:09 2016
@@ -5706,6 +5706,9 @@ static void ProcessDeclAttribute(Sema &S
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
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;
More information about the cfe-commits
mailing list