[PATCH] D137251: [clang][cuda/hip] Allow `__noinline__` lambdas

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 2 11:04:21 PDT 2022


aaron.ballman added a comment.

Can you also add a release note for the fix?



================
Comment at: clang/lib/Parse/ParseExprCXX.cpp:1300
+        ParseGNUAttributes(Attr, nullptr, &D);
+      } else if (Tok.is(tok::kw___noinline__)) {
+        IdentifierInfo *AttrName = Tok.getIdentifierInfo();
----------------
Any other keyword attributes that are missing?

`alignas`/`_Alignas`
`__forceinline`
`__cdecl`/`__stdcall`/etc



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D137251



More information about the cfe-commits mailing list