ahatanak added inline comments.

================
Comment at: clang/test/SemaObjCXX/noescape.mm:20
+template <class T>
+void noescapeFunc5(__attribute__((noescape)) T); // expected-warning 
{{'noescape' attribute only applies to pointer arguments}}
+template <class T>
----------------
I didn't realize clang rejects `noescape` on parameters of template functions. 
I think this should be fixed in a followup patch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101097

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to