Lines Matching defs:FormatToken
1 //===--- FormatToken.h - Format C++ code ------------------------*- C++ -*-===//
11 /// \brief This file contains the declaration of the FormatToken, a wrapper
91 struct FormatToken {
92 FormatToken()
327 FormatToken *getPreviousNonComment() const {
328 FormatToken *Tok = Previous;
335 const FormatToken *getNextNonComment() const {
336 const FormatToken *Tok = Next;
356 FormatToken *MatchingParen;
358 FormatToken *Previous;
359 FormatToken *Next;
373 FormatToken(const FormatToken &) LLVM_DELETED_FUNCTION;
374 void operator=(const FormatToken &) LLVM_DELETED_FUNCTION;
387 virtual void precomputeFormattingInfos(const FormatToken *Token);
399 virtual void CommaFound(const FormatToken *Token) {}
409 virtual void precomputeFormattingInfos(const FormatToken *Token);
415 virtual void CommaFound(const FormatToken *Token) { Commas.push_back(Token); }
439 SmallVector<const FormatToken *, 8> Commas;