clang 20.0.0git
Macros | Functions
ParseStmt.cpp File Reference
#include "clang/AST/PrettyDeclStackTrace.h"
#include "clang/Basic/Attributes.h"
#include "clang/Basic/PrettyStackTrace.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Basic/TokenKinds.h"
#include "clang/Parse/LoopHint.h"
#include "clang/Parse/Parser.h"
#include "clang/Parse/RAIIObjectsForParser.h"
#include "clang/Sema/DeclSpec.h"
#include "clang/Sema/EnterExpressionEvaluationContext.h"
#include "clang/Sema/Scope.h"
#include "clang/Sema/SemaCodeCompletion.h"
#include "clang/Sema/SemaObjC.h"
#include "clang/Sema/SemaOpenMP.h"
#include "clang/Sema/TypoCorrection.h"
#include "llvm/ADT/STLExtras.h"
#include <optional>
#include "clang/Basic/TransformTypeTraits.def"

Go to the source code of this file.

Macros

#define TRANSFORM_TYPE_TRAIT_DEF(_, Trait)   case tok::kw___##Trait:
 

Functions

static void DiagnoseLabelFollowedByDecl (Parser &P, const Stmt *SubStmt)
 

Macro Definition Documentation

◆ TRANSFORM_TYPE_TRAIT_DEF

#define TRANSFORM_TYPE_TRAIT_DEF (   _,
  Trait 
)    case tok::kw___##Trait:

Function Documentation

◆ DiagnoseLabelFollowedByDecl()

static void DiagnoseLabelFollowedByDecl ( Parser P,
const Stmt SubStmt 
)
static

Definition at line 730 of file ParseStmt.cpp.

References clang::Stmt::getBeginLoc(), and P.