zcov: / include/clang/Frontend/DependencyOutputOptions.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% 5 / 5


Programs: 5 Runs 8933


       1                 : //===--- DependencyOutputOptions.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_DEPENDENCYOUTPUTOPTIONS_H
      11                 : #define LLVM_CLANG_FRONTEND_DEPENDENCYOUTPUTOPTIONS_H
      12                 : 
      13                 : #include <string>
      14                 : #include <vector>
      15                 : 
      16                 : namespace clang {
      17                 : 
      18                 : /// DependencyOutputOptions - Options for controlling the compiler dependency
      19                 : /// file generation.
      20             2532: class DependencyOutputOptions {
      21                 : public:
      22                 :   unsigned IncludeSystemHeaders : 1; ///< Include system header dependencies.
      23                 :   unsigned UsePhonyTargets : 1;      ///< Include phony targets for each
      24                 :                                      /// dependency, which can avoid some 'make'
      25                 :                                      /// problems.
      26                 : 
      27                 :   /// The file to write depencency output to.
      28                 :   std::string OutputFile;
      29                 : 
      30                 :   /// A list of names to use as the targets in the dependency file; this list
      31                 :   /// must contain at least one entry.
      32                 :   std::vector<std::string> Targets;
      33                 : 
      34                 : public:
      35             2532:   DependencyOutputOptions() {
      36             2532:     IncludeSystemHeaders = 0;
      37             2532:     UsePhonyTargets = 0;
      38             2532:   }
      39                 : };
      40                 : 
      41                 : }  // end namespace clang
      42                 : 
      43                 : #endif

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