An unwrapped line is a sequence of Token
, that we would like to put on a single line if there was no column limit. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Format/UnwrappedLineParser.h"
An unwrapped line is a sequence of Token
, that we would like to put on a single line if there was no column limit.
This is used as a main interface between the UnwrappedLineParser
and the UnwrappedLineFormatter
. The key property is that changing the formatting within an unwrapped line does not affect any other unwrapped lines.
Definition at line 32 of file UnwrappedLineParser.h.
◆ UnwrappedLine() clang::format::UnwrappedLine::UnwrappedLine ( ) default ◆ FirstStartColumn ◆ InMacroBody bool clang::format::UnwrappedLine::InMacroBody = false ◆ InPPDirective bool clang::format::UnwrappedLine::InPPDirective = false ◆ InPragmaDirective bool clang::format::UnwrappedLine::InPragmaDirective = false ◆ IsContinuation bool clang::format::UnwrappedLine::IsContinuation = falseTrue
if this line should be indented by ContinuationIndent in addition to the normal indention level.
Definition at line 62 of file UnwrappedLineParser.h.
◆ kInvalidIndex const size_t clang::format::UnwrappedLine::kInvalidIndex = -1 static ◆ Level unsigned clang::format::UnwrappedLine::Level = 0 ◆ MatchingClosingBlockLineIndex ◆ MatchingOpeningBlockLineIndexIf this UnwrappedLine
closes a block in a sequence of lines, MatchingOpeningBlockLineIndex
stores the index of the corresponding opening line.
Otherwise, MatchingOpeningBlockLineIndex
must be kInvalidIndex
.
Definition at line 68 of file UnwrappedLineParser.h.
◆ MustBeDeclaration ◆ PPLevel unsigned clang::format::UnwrappedLine::PPLevel = 0The PPBranchLevel
(adjusted for header guards) if this line is a InMacroBody
line, and 0 otherwise.
Definition at line 43 of file UnwrappedLineParser.h.
◆ SeenDecltypeAuto bool clang::format::UnwrappedLine::SeenDecltypeAuto = false ◆ Tokens ◆ UnbracedBodyLevel unsigned clang::format::UnwrappedLine::UnbracedBodyLevel = 0The documentation for this struct was generated from the following file:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4