[PATCH] D81641: [SYCL] Implement thread-local storage restriction

Mariya Podchishchaeva via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 11 07:42:03 PDT 2020


Fznamznon marked 2 inline comments as done.
Fznamznon added inline comments.


================
Comment at: clang/lib/Sema/SemaExpr.cpp:216
+  if (getLangOpts().SYCLIsDevice)
+    if (auto VD = dyn_cast<VarDecl>(D))
+      if (VD->getTLSKind() != VarDecl::TLS_None)
----------------
riccibruno wrote:
> Nit: The convention is `auto *VD`.
Fixed, thanks!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81641/new/

https://reviews.llvm.org/D81641





More information about the cfe-commits mailing list