ΒΆinline unsigned int getEscapeSequenceLength(
    llvm::StringRef Text)

Description

Gets the length of an escape sequence inside a C++ string literal. Text should span from the beginning of the escape sequence (starting with a backslash) to the end of the string literal.

Declared at: clang/lib/Format/Encoding.h:97

Parameters

llvm::StringRef Text