diff options
Diffstat (limited to 'contrib/llvm/tools/clang/lib/CodeGen/CoverageMappingGen.h')
| -rw-r--r-- | contrib/llvm/tools/clang/lib/CodeGen/CoverageMappingGen.h | 16 | 
1 files changed, 8 insertions, 8 deletions
diff --git a/contrib/llvm/tools/clang/lib/CodeGen/CoverageMappingGen.h b/contrib/llvm/tools/clang/lib/CodeGen/CoverageMappingGen.h index d07ed5ebcf2b..b08ad896d7a5 100644 --- a/contrib/llvm/tools/clang/lib/CodeGen/CoverageMappingGen.h +++ b/contrib/llvm/tools/clang/lib/CodeGen/CoverageMappingGen.h @@ -31,7 +31,7 @@ class Preprocessor;  class Decl;  class Stmt; -/// \brief Stores additional source code information like skipped ranges which +/// Stores additional source code information like skipped ranges which  /// is required by the coverage mapping generator and is obtained from  /// the preprocessor.  class CoverageSourceInfo : public PPCallbacks { @@ -46,7 +46,7 @@ namespace CodeGen {  class CodeGenModule; -/// \brief Organizes the cross-function state that is used while generating +/// Organizes the cross-function state that is used while generating  /// code coverage mapping data.  class CoverageMappingModuleGen {    CodeGenModule &CGM; @@ -65,7 +65,7 @@ public:      return SourceInfo;    } -  /// \brief Add a function's coverage mapping record to the collection of the +  /// Add a function's coverage mapping record to the collection of the    /// function mapping records.    void addFunctionMappingRecord(llvm::GlobalVariable *FunctionName,                                  StringRef FunctionNameValue, @@ -73,15 +73,15 @@ public:                                  const std::string &CoverageMapping,                                  bool IsUsed = true); -  /// \brief Emit the coverage mapping data for a translation unit. +  /// Emit the coverage mapping data for a translation unit.    void emit(); -  /// \brief Return the coverage mapping translation unit file id +  /// Return the coverage mapping translation unit file id    /// for the given file.    unsigned getFileID(const FileEntry *File);  }; -/// \brief Organizes the per-function state that is used while generating +/// Organizes the per-function state that is used while generating  /// code coverage mapping data.  class CoverageMappingGen {    CoverageMappingModuleGen &CVM; @@ -99,12 +99,12 @@ public:                       llvm::DenseMap<const Stmt *, unsigned> *CounterMap)        : CVM(CVM), SM(SM), LangOpts(LangOpts), CounterMap(CounterMap) {} -  /// \brief Emit the coverage mapping data which maps the regions of +  /// Emit the coverage mapping data which maps the regions of    /// code to counters that will be used to find the execution    /// counts for those regions.    void emitCounterMapping(const Decl *D, llvm::raw_ostream &OS); -  /// \brief Emit the coverage mapping data for an unused function. +  /// Emit the coverage mapping data for an unused function.    /// It creates mapping regions with the counter of zero.    void emitEmptyMapping(const Decl *D, llvm::raw_ostream &OS);  };  | 
