zcov: / include/clang/Lex/ExternalPreprocessorSource.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% 1 / 1


Programs: 2 Runs 3018


       1                 : //===- ExternalPreprocessorSource.h - Abstract Macro Interface --*- 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                 : //  This file defines the ExternalPreprocessorSource interface, which enables
      11                 : //  construction of macro definitions from some external source.
      12                 : //
      13                 : //===----------------------------------------------------------------------===//
      14                 : #ifndef LLVM_CLANG_LEX_EXTERNAL_PREPROCESSOR_SOURCE_H
      15                 : #define LLVM_CLANG_LEX_EXTERNAL_PREPROCESSOR_SOURCE_H
      16                 : 
      17                 : namespace clang {
      18                 :   
      19                 : /// \brief Abstract interface for external sources of preprocessor 
      20                 : /// information.
      21                 : ///
      22                 : /// This abstract class allows an external sources (such as the \c PCHReader) 
      23                 : /// to provide additional macro definitions.
      24               48: class ExternalPreprocessorSource {
      25                 : public:
      26                 :   virtual ~ExternalPreprocessorSource();
      27                 :   
      28                 :   /// \brief Read the set of macros defined by this external macro source.
      29                 :   virtual void ReadDefinedMacros() = 0;
      30                 : };
      31                 :   
      32                 : }
      33                 : 
      34                 : #endif // LLVM_CLANG_LEX_EXTERNAL_PREPROCESSOR_SOURCE_H

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