1 1.1 joerg #!/usr/bin/env python 2 1.1 joerg # -*- coding: utf-8 -*- 3 1.1 joerg # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4 1.1 joerg # See https://llvm.org/LICENSE.txt for license information. 5 1.1 joerg # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6 1.1 joerg 7 1.1 joerg import multiprocessing 8 1.1 joerg import sys 9 1.1 joerg import os.path 10 1.1 joerg this_dir = os.path.dirname(os.path.realpath(__file__)) 11 1.1 joerg sys.path.append(os.path.dirname(this_dir)) 12 1.1 joerg 13 1.1 joerg from libscanbuild.analyze import scan_build 14 1.1.1.2 joerg 15 1.1.1.2 joerg if __name__ == '__main__': 16 1.1.1.2 joerg multiprocessing.freeze_support() 17 1.1.1.2 joerg sys.exit(scan_build()) 18