clang  5.0.0
Classes | Namespaces | Functions
BreakableToken.h File Reference

Declares BreakableToken, BreakableStringLiteral, BreakableComment, BreakableBlockComment and BreakableLineCommentSection classes, that contain token type-specific logic to break long lines in tokens and reflow content between tokens. More...

#include "Encoding.h"
#include "TokenAnnotator.h"
#include "WhitespaceManager.h"
#include "llvm/Support/Regex.h"
#include <utility>
Include dependency graph for BreakableToken.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  clang::format::BreakableToken
 Base class for strategies on how to break tokens. More...
 
class  clang::format::BreakableSingleLineToken
 Base class for single line tokens that can be broken. More...
 
class  clang::format::BreakableStringLiteral
 
class  clang::format::BreakableComment
 
class  clang::format::BreakableBlockComment
 
class  clang::format::BreakableLineCommentSection
 

Namespaces

 clang
 /file This file defines classes for searching and anlyzing source code clones.
 
 clang::format
 

Functions

bool clang::format::switchesFormatting (const FormatToken &Token)
 Checks if Token switches formatting, like /* clang-format off. More...
 

Detailed Description

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

Definition in file BreakableToken.h.