A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://clang.llvm.org/doxygen/namespaceclang_1_1format_1_1encoding.html below:

clang: clang::format::encoding Namespace Reference

◆ Encoding Enumerator Encoding_UTF8  Encoding_Unknown 

Definition at line 26 of file Encoding.h.

◆ columnWidth() unsigned clang::format::encoding::columnWidth ( StringRef  Text, Encoding  Encoding  ) inline ◆ columnWidthWithTabs()

Returns the number of columns required to display the Text, starting from the StartColumn on a terminal with the TabWidth.

The text is assumed to use the specified Encoding.

Definition at line 60 of file Encoding.h.

References columnWidth(), and Text.

Referenced by clang::format::BreakableBlockComment::BreakableBlockComment(), clang::format::BreakableLineCommentSection::BreakableLineCommentSection(), clang::format::getCommentSplit(), clang::format::getLastLineEndColumn(), clang::format::BreakableBlockComment::getRangeLength(), clang::format::BreakableLineCommentSection::getRangeLength(), clang::format::BreakableStringLiteral::getRemainingLength(), clang::format::BreakableStringLiteralUsingOperators::getRemainingLength(), and clang::format::getStringSplit().

◆ detectEncoding() Encoding clang::format::encoding::detectEncoding ( StringRef  Text ) inline

Detects encoding of the Text.

If the Text can be decoded using UTF-8, it is considered UTF8, otherwise we treat it as some 8-bit encoding.

Definition at line 33 of file Encoding.h.

References Encoding_Unknown, Encoding_UTF8, and Text.

◆ getCodePointNumBytes() unsigned clang::format::encoding::getCodePointNumBytes ( char  FirstChar, Encoding  Encoding  ) inline ◆ getEscapeSequenceLength() unsigned clang::format::encoding::getEscapeSequenceLength ( StringRef  Text ) inline ◆ isHexDigit() bool clang::format::encoding::isHexDigit ( char  c ) inline ◆ isOctDigit() bool clang::format::encoding::isOctDigit ( char  c ) inline

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