clang 19.0.0git
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 "WhitespaceManager.h"
#include "llvm/ADT/StringSet.h"

Go to the source code of this file.

Classes

class  clang::format::BreakableToken
 Base class for tokens / ranges of tokens that can allow breaking within the tokens - for example, to avoid whitespace beyond the column limit, or to reflow text. More...
 
class  clang::format::BreakableStringLiteral
 
class  clang::format::BreakableStringLiteralUsingOperators
 
class  clang::format::BreakableComment
 
class  clang::format::BreakableBlockComment
 
class  clang::format::BreakableLineCommentSection
 

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::format
 

Functions

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

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.