xref: /openbsd-src/gnu/llvm/clang/tools/scan-build-py/libexec/intercept-c++ (revision 5a38ef86d0b61900239c7913d24a05e7b88a58f0)
1#!/usr/bin/env python
2# -*- coding: utf-8 -*-
3# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4# See https://llvm.org/LICENSE.txt for license information.
5# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
7import sys
8import os.path
9this_dir = os.path.dirname(os.path.realpath(__file__))
10sys.path.append(os.path.join(os.path.dirname(this_dir), 'lib'))
11
12from libscanbuild.intercept import intercept_compiler_wrapper
13sys.exit(intercept_compiler_wrapper())
14