summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ir/item.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ir/item.rs b/src/ir/item.rs
index 691cfec2..e25335bf 100644
--- a/src/ir/item.rs
+++ b/src/ir/item.rs
@@ -1051,6 +1051,9 @@ impl ClangItemParser for Item {
// It's harmless, but if we restrict that, then
// tests/headers/nsStyleAutoArray.hpp crashes.
if let Err(ParseError::Recurse) = result {
+ warn!("Unknown type, assuming named template type: id = {:?}; spelling = {}",
+ id,
+ ty.spelling());
Ok(Self::named_type_with_id(id,
ty.spelling(),
None,