1*7330f729Sjoerg#!/usr/bin/env python 2*7330f729Sjoerg# -*- coding: utf-8 -*- 3*7330f729Sjoerg# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*7330f729Sjoerg# See https://llvm.org/LICENSE.txt for license information. 5*7330f729Sjoerg# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*7330f729Sjoerg 7*7330f729Sjoergimport sys 8*7330f729Sjoergimport os.path 9*7330f729Sjoergthis_dir = os.path.dirname(os.path.realpath(__file__)) 10*7330f729Sjoergsys.path.append(os.path.dirname(this_dir)) 11*7330f729Sjoerg 12*7330f729Sjoergfrom libscanbuild.intercept import intercept_compiler_wrapper 13*7330f729Sjoergsys.exit(intercept_compiler_wrapper()) 14