zcov: / include/clang/Frontend/PreprocessorOutputOptions.h


Files: 1 Branches Taken: 0.0% 0 / 0
Generated: 2010-02-10 01:31 Branches Executed: 0.0% 0 / 0
Line Coverage: 100.0% 7 / 7


Programs: 5 Runs 8933


       1                 : //===--- PreprocessorOutputOptions.h ----------------------------*- C++ -*-===//
       2                 : //
       3                 : //                     The LLVM Compiler Infrastructure
       4                 : //
       5                 : // This file is distributed under the University of Illinois Open Source
       6                 : // License. See LICENSE.TXT for details.
       7                 : //
       8                 : //===----------------------------------------------------------------------===//
       9                 : 
      10                 : #ifndef LLVM_CLANG_FRONTEND_PREPROCESSOROUTPUTOPTIONS_H
      11                 : #define LLVM_CLANG_FRONTEND_PREPROCESSOROUTPUTOPTIONS_H
      12                 : 
      13                 : namespace clang {
      14                 : 
      15                 : /// PreprocessorOutputOptions - Options for controlling the C preprocessor
      16                 : /// output (e.g., -E).
      17                 : class PreprocessorOutputOptions {
      18                 : public:
      19                 :   unsigned ShowCPP : 1;           ///< Print normal preprocessed output.
      20                 :   unsigned ShowMacros : 1;        ///< Print macro definitions.
      21                 :   unsigned ShowLineMarkers : 1;   ///< Show #line markers.
      22                 :   unsigned ShowComments : 1;      ///< Show comments.
      23                 :   unsigned ShowMacroComments : 1; ///< Show comments, even in macros.
      24                 : 
      25                 : public:
      26             2532:   PreprocessorOutputOptions() {
      27             2532:     ShowCPP = 1;
      28             2532:     ShowMacros = 0;
      29             2532:     ShowLineMarkers = 1;
      30             2532:     ShowComments = 0;
      31             2532:     ShowMacroComments = 0;
      32             2532:   }
      33                 : };
      34                 : 
      35                 : }  // end namespace clang
      36                 : 
      37                 : #endif

Generated: 2010-02-10 01:31 by zcov