[PATCH] D16686: [OpenCL] Generate metadata for opencl_unroll_hint attribute
Xiuli PAN via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 5 18:23:38 PST 2016
pxli168 added a reviewer: rsmith.
pxli168 added a comment.
Hi richard,
What is your opinion about where to put this ParseOpenCLUnrollHintAttribute?
Thanks
Xiuli
================
Comment at: lib/Parse/ParseStmt.cpp:2214
@@ +2213,3 @@
+
+bool Parser::ParseOpenCLUnrollHintAttribute(ParsedAttributes &Attrs) {
+ MaybeParseGNUAttributes(Attrs);
----------------
Anastasia wrote:
> pxli168 wrote:
> > I am wondering where should this function goes in, here or ParseDecl.cpp.
> ParseGNUAttributes is in ParseDecl.cpp, but may be because it's generally applicable to Decls?
>
> I am not aware of any rule here.
Maybe we could ask richard for help?
http://reviews.llvm.org/D16686
More information about the cfe-commits
mailing list