Home
last modified time | relevance | path

Searched refs:semantic_parent (Results 1 – 7 of 7) sorted by relevance

/external/clang/bindings/python/tests/cindex/
Dtest_cursor.py86 parent = cursor.semantic_parent
279 assert(curs[0].semantic_parent == curs[1].semantic_parent)
280 assert(curs[0].semantic_parent == decl)
/external/rust/crates/bindgen/src/
Dclang.rs147 pub fn semantic_parent(&self) -> Cursor { in semantic_parent() method
205 let mut semantic_parent = self.fallible_semantic_parent(); in is_toplevel() localVariable
207 while semantic_parent.is_some() && in is_toplevel()
208 (semantic_parent.unwrap().kind() == CXCursor_Namespace || in is_toplevel()
209 semantic_parent.unwrap().kind() == in is_toplevel()
211 semantic_parent.unwrap().kind() == CXCursor_NamespaceRef) in is_toplevel()
213 semantic_parent = in is_toplevel()
214 semantic_parent.unwrap().fallible_semantic_parent(); in is_toplevel()
219 semantic_parent == tu.fallible_semantic_parent() in is_toplevel()
269 let parent = self.semantic_parent(); in is_in_non_fully_specialized_template()
/external/llvm-project/clang/bindings/python/tests/cindex/
Dtest_cursor.py111 parent = cursor.semantic_parent
324 self.assertEqual(curs[0].semantic_parent, curs[1].semantic_parent)
325 self.assertEqual(curs[0].semantic_parent, decl)
/external/rust/crates/bindgen/src/ir/
Dfunction.rs448 cursor.lexical_parent() != cursor.semantic_parent() in from_ty()
459 let parent = cursor.semantic_parent(); in from_ty()
Dcomp.rs1367 cur.semantic_parent() == cursor || cur.is_definition(); in from_ty()
/external/clang/bindings/python/clang/
Dcindex.py1449 def semantic_parent(self): member in Cursor
/external/llvm-project/clang/bindings/python/clang/
Dcindex.py1757 def semantic_parent(self): member in Cursor