[PATCH] D156237: Complete the implementation of P2361 Unevaluated string literals

Sergei Barannikov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 28 15:56:35 PDT 2023


barannikov88 added inline comments.


================
Comment at: clang/utils/TableGen/ClangAttrEmitter.cpp:2349
+      if (isVariadicStringLiteralArgument(Args[N])) {
+        for (; N < sizeof(uint32_t); N++)
+          Bits |= (1 << N);
----------------
maskTrailingZeros might also be useful


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156237



More information about the cfe-commits mailing list