]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - tools/scan-build-py/bin/intercept-build
Vendor import of clang trunk r300422:
[FreeBSD/FreeBSD.git] / tools / scan-build-py / bin / intercept-build
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7
8 import multiprocessing
9 multiprocessing.freeze_support()
10
11 import sys
12 import os.path
13 this_dir = os.path.dirname(os.path.realpath(__file__))
14 sys.path.append(os.path.dirname(this_dir))
15
16 from libscanbuild.intercept import intercept_build
17 sys.exit(intercept_build())