def parse(name, **kwargs):
    """ Parse a C/C++ file
    """
    idx = clang.cindex.Index.create()
    assert os.path.exists(name)
    tu = idx.parse(name, **kwargs)
    return _ensure_parse_valid(tu)
Parse a C/C++ file