• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/env python
2#
3# Copyright 2016 Google Inc.
4#
5# Use of this source code is governed by a BSD-style license that can be
6# found in the LICENSE file.
7
8from __future__ import print_function
9
10import subprocess
11import sys
12cc,cxx = sys.argv[1:3]
13
14if (b'clang' in subprocess.check_output('%s --version' % cc, shell=True) and
15    b'clang' in subprocess.check_output('%s --version' % cxx, shell=True)):
16  print('true')
17else:
18  print('false')
19