clang  3.9.0
Public Attributes | List of all members
clang::tooling::TranslationUnitReplacements Struct Reference

Collection of Replacements generated from a single translation unit. More...

#include <Replacement.h>

Collaboration diagram for clang::tooling::TranslationUnitReplacements:
[legend]

Public Attributes

std::string MainSourceFile
 Name of the main source for the translation unit. More...
 
std::string Context
 A freeform chunk of text to describe the context of the replacements. More...
 
std::vector< ReplacementReplacements
 

Detailed Description

Collection of Replacements generated from a single translation unit.

Definition at line 199 of file Replacement.h.

Member Data Documentation

std::string clang::tooling::TranslationUnitReplacements::Context

A freeform chunk of text to describe the context of the replacements.

Will be printed, for example, when detecting conflicts during replacement deduplication.

Definition at line 206 of file Replacement.h.

Referenced by llvm::yaml::MappingTraits< clang::tooling::TranslationUnitReplacements >::mapping().

std::string clang::tooling::TranslationUnitReplacements::MainSourceFile

Name of the main source for the translation unit.

Definition at line 201 of file Replacement.h.

Referenced by llvm::yaml::MappingTraits< clang::tooling::TranslationUnitReplacements >::mapping().

std::vector<Replacement> clang::tooling::TranslationUnitReplacements::Replacements

The documentation for this struct was generated from the following file: