Ah, I think I just copied that from clang_completer.py, I'll update it to use the nicely named function.