Fix false positive

Fixes issue #24.

Do you think that ->getDefinition() will always be non-nullptr? I'm not sure since I'm new to CLang.