clang  15.0.0git
Namespaces | Functions
FormatTokenLexer.cpp File Reference
#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"
Include dependency graph for FormatTokenLexer.cpp:

Go to the source code of this file.




static size_t clang::format::countLeadingWhitespace (StringRef Text)
 Count the length of leading whitespace in a token. More...

Detailed Description

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

Definition in file FormatTokenLexer.cpp.