[PATCH] D108479: [Clang] Add __builtin_addressof_nocfi

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 28 12:37:06 PDT 2021


nickdesaulniers added inline comments.


================
Comment at: clang/lib/AST/APValue.cpp:44-46
+                                                                       false} {}
 APValue::LValueBase::LValueBase(const Expr *P, unsigned I, unsigned V)
+    : Ptr(P), Local{I, V, false} {}
----------------
I think a common convention in LLVM is to have comments like:

`Local{I, V, /*NoCFIValue=*/`false}`

for boolean parameters.

https://llvm.org/docs/CodingStandards.html#comment-formatting


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108479



More information about the cfe-commits mailing list