summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/clang.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/clang.rs b/src/clang.rs
index 5da42b52..e62ff74c 100644
--- a/src/clang.rs
+++ b/src/clang.rs
@@ -225,6 +225,7 @@ impl Cursor {
/// remaining free template arguments?
pub fn is_fully_specialized_template(&self) -> bool {
self.is_template_specialization() &&
+ self.kind() != CXCursor_ClassTemplatePartialSpecialization &&
self.num_template_args().unwrap_or(0) > 0
}