summaryrefslogtreecommitdiff
path: root/tests/headers/forward-inherit-struct-with-fields.hpp
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-11-07 16:56:24 -0600
committerGitHub <noreply@github.com>2016-11-07 16:56:24 -0600
commit86c3bba4ca9293034d9b705ac87c28d5335aef0a (patch)
treea67ef8f1a195ee27893d05fe2e3f3f157a046496 /tests/headers/forward-inherit-struct-with-fields.hpp
parent3c4a8403bdaa8e18facbe13995e4fa84dddce997 (diff)
parentbfc02909c399f646987f025abf8bce770cf3d581 (diff)
Auto merge of #172 - malisas:malisa-semantic-parent-call, r=fitzgen,emilio
Make clang::Cursor::fallible_semantic_parent make ffi call This PR fixes #120 . `clang::Cursor::semantic_parent` now just calls `clang::Cursor::fallible_semantic_parent`, and the ffi call has been moved into `fallible_semantic_parent`. This change broke a number of tests which call `is_toplevel()` (which itself calls `semantic_parent()`): > panicked at called Option::unwrap() on a None value So I re-wrote `is_toplevel()` to call `fallible_semantic_parent()`, which returns an `Option<Cursor>` type instead.
Diffstat (limited to 'tests/headers/forward-inherit-struct-with-fields.hpp')
0 files changed, 0 insertions, 0 deletions