yaxunl added a comment.

Matt, are you OK with the change from amdgcn backend point of view? Thanks.



================
Comment at: lib/Sema/SemaExpr.cpp:1669
+    }
+  }
+
----------------
rjmccall wrote:
> You should use `getAs<FunctionType>` here (no `const` necessary).  It's 
> possible to declare a function with a typedef of function type, you just 
> can't define it that way.
will do.


https://reviews.llvm.org/D44747



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to