clang 20.0.0git
Namespaces | Functions
FormatTokenLexer.cpp File Reference

This file implements FormatTokenLexer, which tokenizes a source file into a FormatToken stream suitable for ClangFormat. More...

#include "FormatTokenLexer.h"
#include "FormatToken.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Format/Format.h"
#include "llvm/Support/Regex.h"

Go to the source code of this file.

Namespaces

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

Functions

static auto clang::format::lexCSharpString (const char *Begin, const char *End, bool Verbatim, bool Interpolated)
 
static size_t clang::format::countLeadingWhitespace (StringRef Text)
 Count the length of leading whitespace in a token.
 

Detailed Description

This file implements FormatTokenLexer, which tokenizes a source file into a FormatToken stream suitable for ClangFormat.

Definition in file FormatTokenLexer.cpp.