clang 20.0.0git
Functions
Parser.cpp File Reference
#include "clang/Parse/Parser.h"
#include "clang/AST/ASTConsumer.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/ASTLambda.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/Basic/FileManager.h"
#include "clang/Parse/ParseDiagnostic.h"
#include "clang/Parse/RAIIObjectsForParser.h"
#include "clang/Sema/DeclSpec.h"
#include "clang/Sema/ParsedTemplate.h"
#include "clang/Sema/Scope.h"
#include "clang/Sema/SemaCodeCompletion.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/TimeProfiler.h"

Go to the source code of this file.

Functions

static bool IsCommonTypo (tok::TokenKind ExpectedTok, const Token &Tok)
 
static bool HasFlagsSet (Parser::SkipUntilFlags L, Parser::SkipUntilFlags R)
 

Function Documentation

◆ HasFlagsSet()

static bool HasFlagsSet ( Parser::SkipUntilFlags  L,
Parser::SkipUntilFlags  R 
)
static

Definition at line 274 of file Parser.cpp.

Referenced by clang::Parser::SkipUntil().

◆ IsCommonTypo()

static bool IsCommonTypo ( tok::TokenKind  ExpectedTok,
const Token Tok 
)
static

Definition at line 110 of file Parser.cpp.

References clang::Token::is().