[PATCH] D40072: [libclang] Support querying whether a declaration is invalid

Manuel Klimek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 28 01:44:43 PST 2017


klimek accepted this revision.
klimek added a comment.
This revision is now accepted and ready to land.

LG



================
Comment at: include/clang-c/Index.h:2622
+ *
+ * A declaration is invalid if it could not be parsed successfully.
+ */
----------------
Perhaps add that we need to have identified it as a declaration, and that it'll return 0 when we didn't indeed identify something as a declaration :)


https://reviews.llvm.org/D40072





More information about the cfe-commits mailing list