xref: /aosp_15_r20/external/clang/tools/scan-build-py/bin/intercept-cc (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li#!/usr/bin/env python
2*67e74705SXin Li# -*- coding: utf-8 -*-
3*67e74705SXin Li#                     The LLVM Compiler Infrastructure
4*67e74705SXin Li#
5*67e74705SXin Li# This file is distributed under the University of Illinois Open Source
6*67e74705SXin Li# License. See LICENSE.TXT for details.
7*67e74705SXin Li
8*67e74705SXin Liimport sys
9*67e74705SXin Liimport os.path
10*67e74705SXin Lithis_dir = os.path.dirname(os.path.realpath(__file__))
11*67e74705SXin Lisys.path.append(os.path.dirname(this_dir))
12*67e74705SXin Li
13*67e74705SXin Lifrom libscanbuild.intercept import intercept_build_wrapper
14*67e74705SXin Lisys.exit(intercept_build_wrapper(False))
15