Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:44:34

0001 //===- SystemUtils.h - Utilities to do low-level system stuff ---*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 //
0009 // This file contains functions used to do a variety of low-level, often
0010 // system-specific, tasks.
0011 //
0012 //===----------------------------------------------------------------------===//
0013 
0014 #ifndef LLVM_SUPPORT_SYSTEMUTILS_H
0015 #define LLVM_SUPPORT_SYSTEMUTILS_H
0016 
0017 namespace llvm {
0018 class raw_ostream;
0019 
0020 /// Determine if the raw_ostream provided is connected to a terminal. If so,
0021 /// generate a warning message to errs() advising against display of bitcode
0022 /// and return true. Otherwise just return false.
0023 /// Check for output written to a console
0024 bool CheckBitcodeOutputToConsole(
0025     raw_ostream &stream_to_check ///< The stream to be checked
0026 );
0027 
0028 } // namespace llvm
0029 
0030 #endif