clang API Documentation

Format Directory Reference
Directory dependency graph for clang/lib/Format/:
clang/lib/Format/

Files

file  BreakableToken.cpp [code]
 

Contains implementation of BreakableToken class and classes derived from it.


file  BreakableToken.h [code]
 

Declares BreakableToken, BreakableStringLiteral, and BreakableBlockComment classes, that contain token type-specific logic to break long lines in tokens.


file  ContinuationIndenter.cpp [code]
 

This file implements the continuation indenter.


file  ContinuationIndenter.h [code]
 

This file implements an indenter that manages the indentation of continuations.


file  Encoding.h [code]
 

Contains functions for text encoding manipulation. Supports UTF-8, 8-bit encodings and escape sequences in C++ string literals.


file  Format.cpp [code]
 

This file implements functions declared in Format.h. This will be split into separate files as we go.


file  FormatToken.cpp [code]
 

This file implements specific functions of FormatTokens and their roles.


file  FormatToken.h [code]
 

This file contains the declaration of the FormatToken, a wrapper around Token with additional information related to formatting.


file  TokenAnnotator.cpp [code]
 

This file implements a token annotator, i.e. creates AnnotatedTokens out of FormatTokens with required extra information.


file  TokenAnnotator.h [code]
 

This file implements a token annotator, i.e. creates AnnotatedTokens out of FormatTokens with required extra information.


file  UnwrappedLineParser.cpp [code]
 

This file contains the implementation of the UnwrappedLineParser, which turns a stream of tokens into UnwrappedLines.


file  UnwrappedLineParser.h [code]
 

This file contains the declaration of the UnwrappedLineParser, which turns a stream of tokens into UnwrappedLines.


file  WhitespaceManager.cpp [code]
 

This file implements WhitespaceManager class.


file  WhitespaceManager.h [code]
 

WhitespaceManager class manages whitespace around tokens and their replacements.