@staticmethod
    def set_compatibility_check(check_status):
        if Config.loaded:
            raise Exception("compatibility_check must be set before before " \
                            "using any other functionalities in libclang.")

        Config.compatibility_check = check_status
Perform compatibility check when loading libclang
dataset/ETHPy150Open punchagan/cinspect/cinspect/vendor/clang/cindex.py/Config.set_compatibility_check