diff options
author | Minijackson <minijackson@riseup.net> | 2020-02-23 20:14:29 +0100 |
---|---|---|
committer | Minijackson <minijackson@riseup.net> | 2020-02-23 20:14:29 +0100 |
commit | 6e995d01ce1cc36f84541b43c33868f090c01ac8 (patch) | |
tree | 47eae76e79085d2da96f7ba63c4a95903291a87a /src | |
parent | 987a92002ff1d56634e43b5243d7f731e2ef38f6 (diff) | |
download | poseidoc-6e995d01ce1cc36f84541b43c33868f090c01ac8.tar.gz poseidoc-6e995d01ce1cc36f84541b43c33868f090c01ac8.zip |
clang-parser: document ClassTemplate as class
Diffstat (limited to 'src')
-rw-r--r-- | src/parser/clang/entities.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/clang/entities.rs b/src/parser/clang/entities.rs index e6fe59d..c0c5490 100644 --- a/src/parser/clang/entities.rs +++ b/src/parser/clang/entities.rs | |||
@@ -812,7 +812,7 @@ impl<'a> TryFrom<clang::Entity<'a>> for Struct { | |||
812 | 812 | ||
813 | let kind = match clang_kind { | 813 | let kind = match clang_kind { |
814 | clang::EntityKind::StructDecl => StructKind::Struct, | 814 | clang::EntityKind::StructDecl => StructKind::Struct, |
815 | clang::EntityKind::ClassDecl => StructKind::Class, | 815 | clang::EntityKind::ClassDecl | clang::EntityKind::ClassTemplate => StructKind::Class, |
816 | // We panic here because we've asserted the type in the beginning | 816 | // We panic here because we've asserted the type in the beginning |
817 | other => panic!("Trying to parse {:?} as a variable", other), | 817 | other => panic!("Trying to parse {:?} as a variable", other), |
818 | }; | 818 | }; |