summaryrefslogtreecommitdiffstats
path: root/tools/scan-build-py/bin/analyze-build
blob: 6c285874a2083b063ff1a3cd71f202c5caede05e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

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 analyze_build
sys.exit(analyze_build())