| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # The LLVM Compiler Infrastructure | |
| # | |
| # This file is distributed under the University of Illinois Open Source | |
| # License. See LICENSE.TXT for details. | |
| import multiprocessing | |
| multiprocessing.freeze_support() | |
| import sys | |
| import os.path | |
| this_dir = os.path.dirname(os.path.realpath(__file__)) | |
| sys.path.append(os.path.dirname(this_dir)) | |
| from libscanbuild.analyze import scan_build | |
| sys.exit(scan_build()) |