[PATCH] D136744: [Clang] perform "maximum TLS alignment" check for template instantiation

Matheus Izvekov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 26 05:15:34 PDT 2022


mizvekov accepted this revision.
mizvekov added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang/lib/Sema/SemaDecl.cpp:14038-14039
+
+  if (!Context.getTargetInfo().isTLSSupported())
+    return;
+
----------------
Is this needed? It seems `getMaxTLSAlign()` will return 0 in that case anyway.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136744



More information about the cfe-commits mailing list