Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / tools / scan-build-py / libexec / intercept-cc
blobb8c8e923ec76e353ce4d3a8dd52e87b2a2f93125
1 #!/usr/bin/env python3
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
7 import sys
8 import os.path
9 this_dir = os.path.dirname(os.path.realpath(__file__))
10 sys.path.append(os.path.join(os.path.dirname(this_dir), 'lib'))
12 from libscanbuild.intercept import intercept_compiler_wrapper
13 sys.exit(intercept_compiler_wrapper())