kimgr added a comment.
Potential typo in the tests
================
Comment at: test/SemaCXX/attr-lifetimebound.cpp:24
+
+ // Do not diagnose non-void return types; they can still be lifetime-bound.
+ long long ptrintcast(int ¶m [[clang::lifetimebound]]) {
----------------
Should this say 'non-ref' instead of 'non-void'?
Repository:
rC Clang
https://reviews.llvm.org/D49922
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits