[PATCH] D53153: [OpenCL] Mark namespace scope variables and kernel functions with default visibility
Matt Arsenault via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 12 05:05:02 PDT 2018
arsenm added inline comments.
================
Comment at: lib/AST/Decl.cpp:565
+ return FD->hasAttr<OpenCLKernelAttr>();
+ return dyn_cast<VarDecl>(D);
+}
----------------
isa
Repository:
rC Clang
https://reviews.llvm.org/D53153
More information about the cfe-commits
mailing list