clang  6.0.0svn
Public Member Functions | List of all members
clang::format::NamespaceEndCommentsFixer Class Reference

#include "/opt/doxygen-docs/src/llvm/tools/clang/lib/Format/NamespaceEndCommentsFixer.h"

Inheritance diagram for clang::format::NamespaceEndCommentsFixer:
Inheritance graph
[legend]
Collaboration diagram for clang::format::NamespaceEndCommentsFixer:
Collaboration graph
[legend]

Public Member Functions

 NamespaceEndCommentsFixer (const Environment &Env, const FormatStyle &Style)
 
std::pair< tooling::Replacements, unsigned > analyze (TokenAnnotator &Annotator, SmallVectorImpl< AnnotatedLine *> &AnnotatedLines, FormatTokenLexer &Tokens) override
 
- Public Member Functions inherited from clang::format::TokenAnalyzer
 TokenAnalyzer (const Environment &Env, const FormatStyle &Style)
 
std::pair< tooling::Replacements, unsigned > process ()
 
- Public Member Functions inherited from clang::format::UnwrappedLineConsumer
virtual ~UnwrappedLineConsumer ()
 

Additional Inherited Members

- Protected Member Functions inherited from clang::format::TokenAnalyzer
void consumeUnwrappedLine (const UnwrappedLine &TheLine) override
 
void finishRun () override
 
- Protected Attributes inherited from clang::format::TokenAnalyzer
FormatStyle Style
 
const EnvironmentEnv
 
AffectedRangeManager AffectedRangeMgr
 
SmallVector< SmallVector< UnwrappedLine, 16 >, 2 > UnwrappedLines
 
encoding::Encoding Encoding
 

Detailed Description

Definition at line 24 of file NamespaceEndCommentsFixer.h.

Constructor & Destructor Documentation

◆ NamespaceEndCommentsFixer()

clang::format::NamespaceEndCommentsFixer::NamespaceEndCommentsFixer ( const Environment Env,
const FormatStyle Style 
)

Definition at line 136 of file NamespaceEndCommentsFixer.cpp.

Member Function Documentation

◆ analyze()

std::pair< tooling::Replacements, unsigned > clang::format::NamespaceEndCommentsFixer::analyze ( TokenAnnotator Annotator,
SmallVectorImpl< AnnotatedLine *> &  AnnotatedLines,
FormatTokenLexer Tokens 
)
overridevirtual

Implements clang::format::TokenAnalyzer.

Definition at line 140 of file NamespaceEndCommentsFixer.cpp.


The documentation for this class was generated from the following files: