diff options
author | Emilio Cobos Álvarez <me@emiliocobos.me> | 2016-05-04 19:33:40 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <me@emiliocobos.me> | 2016-05-04 19:33:40 +0200 |
commit | 7f93022cd136d1fc7d314eb8c9748603c1885454 (patch) | |
tree | 2b358a06200521770767f5503358b8faebaf0777 | |
parent | f40e3686917c393990d24f395f4d140e3a8e2ad5 (diff) |
c++: Add a note about how this could break.
-rw-r--r-- | src/parser.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parser.rs b/src/parser.rs index 86240eb2..78f60709 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -590,6 +590,10 @@ fn visit_composite(cursor: &Cursor, parent: &Cursor, // `lexical_parent` should return the reference to the // class, but I've tried everything I could think about and // failed miserably. + // + // Also, there could be more complex cases, like a templated + // type in an inner type declaration, that this is + // completely unable to catch. if child_cursor.kind() == CXCursor_ClassDecl && child_ci.args.is_empty() && child_ci.name == ci.name && |