clang 18.0.0git
Classes | Namespaces | Enumerations
FormatTokenLexer.h File Reference

This file contains FormatTokenLexer, which tokenizes a source file into a token stream suitable for ClangFormat. More...

#include "Encoding.h"
#include "FormatToken.h"
#include "clang/Basic/LangOptions.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Format/Format.h"
#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/Support/Regex.h"
#include <stack>

Go to the source code of this file.

Classes

class  clang::format::FormatTokenLexer
 

Namespaces

namespace  clang
 
namespace  clang::format
 

Enumerations

enum  clang::format::LexerState { clang::format::NORMAL , clang::format::TEMPLATE_STRING , clang::format::TOKEN_STASHED }
 

Detailed Description

This file contains FormatTokenLexer, which tokenizes a source file into a token stream suitable for ClangFormat.

Definition in file FormatTokenLexer.h.