clang API Documentation

Public Attributes
clang::tooling::TranslationUnitReplacements Struct Reference

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

#include <Replacement.h>

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

List of all members.

Public Attributes

std::string MainSourceFile
 Name of the main source for the translation unit.
std::string Context
std::vector< ReplacementReplacements

Detailed Description

Collection of Replacements generated from a single translation unit.

Definition at line 183 of file Replacement.h.


Member Data Documentation

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 190 of file Replacement.h.

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

Name of the main source for the translation unit.

Definition at line 185 of file Replacement.h.

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


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