jbcoe added inline comments.
================
Comment at: bindings/python/tests/cindex/test_cursor.py:407
+ # AvailabilityKind.DEPRECATED
+ tu = get_tu('#include <cstdio>\n void test(char* s) { std::gets(s); }',
lang='cpp')
+ cursor = get_cursor(tu, 'gets')
----------------
It might be better to use a user-defined function that is explicitly deprecated
rather than relying on 3rd party standard includes deprecating things for you.
https://reviews.llvm.org/D36973
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits