[PATCH] D133853: [AST] Add msvc-specific C++11 attributes

Richard Dzenis via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 22 10:35:28 PDT 2022


RIscRIpt added a comment.

I am new to `arc`, I tried `arc diff --edit --verbatim` as it's said in the docs, but it still created a new revision: https://reviews.llvm.org/D134458



================
Comment at: clang/lib/Sema/SemaStmtAttr.cpp:296
+  // Validation is in Sema::ActOnAttributedStmt().
+  return ::new (S.Context) MSConstexprAttr(S.Context, A);
+}
----------------
erichkeane wrote:
> Typically we try to do the ::Create function that is generated for attributes, rather than placement new.  I realize we are consistently inconsistent...
I could address this, but could you please provide an example? Because all `handle` functions in this file use placement new.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133853



More information about the cfe-commits mailing list