[PATCH] D68410: [AttrDocs] document always_inline

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 3 15:29:38 PDT 2019


nickdesaulniers marked an inline comment as done.
nickdesaulniers added inline comments.


================
Comment at: clang/include/clang/Basic/AttrDocs.td:4399-4400
+  let Content = [{
+Hint that inline substitution should be attempted when optimizations are
+disabled. Does not guarantee that inline substitution actually occurs.
+}];
----------------
jyknight wrote:
> I believe the semantics are stronger than this. It should get inlined unless it cannot be.
Seemingly not for indirect function calls: https://godbolt.org/z/BoND-X


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68410





More information about the cfe-commits mailing list