#include "clang/Basic/TransformTypeTraits.def"">

clang: lib/Parse/ParseStmt.cpp File Reference (original) (raw)

#include "[clang/AST/PrettyDeclStackTrace.h](PrettyDeclStackTrace%5F8h%5Fsource.html)"
#include "[clang/Basic/Attributes.h](Attributes%5F8h%5Fsource.html)"
#include "[clang/Basic/PrettyStackTrace.h](PrettyStackTrace%5F8h%5Fsource.html)"
#include "[clang/Basic/TargetInfo.h](include%5F2clang%5F2Basic%5F2TargetInfo%5F8h%5Fsource.html)"
#include "[clang/Basic/TokenKinds.h](TokenKinds%5F8h%5Fsource.html)"
#include "[clang/Parse/LoopHint.h](LoopHint%5F8h%5Fsource.html)"
#include "[clang/Parse/Parser.h](Parse%5F2Parser%5F8h%5Fsource.html)"
#include "[clang/Parse/RAIIObjectsForParser.h](RAIIObjectsForParser%5F8h%5Fsource.html)"
#include "[clang/Sema/DeclSpec.h](DeclSpec%5F8h%5Fsource.html)"
#include "[clang/Sema/EnterExpressionEvaluationContext.h](EnterExpressionEvaluationContext%5F8h%5Fsource.html)"
#include "[clang/Sema/Scope.h](Scope%5F8h%5Fsource.html)"
#include "[clang/Sema/SemaCodeCompletion.h](SemaCodeCompletion%5F8h%5Fsource.html)"
#include "[clang/Sema/SemaObjC.h](SemaObjC%5F8h%5Fsource.html)"
#include "[clang/Sema/SemaOpenACC.h](SemaOpenACC%5F8h%5Fsource.html)"
#include "[clang/Sema/SemaOpenMP.h](SemaOpenMP%5F8h%5Fsource.html)"
#include "[clang/Sema/TypoCorrection.h](TypoCorrection%5F8h%5Fsource.html)"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/ScopeExit.h"
#include <optional>
#include "clang/Basic/TransformTypeTraits.def"

Go to the source code of this file.

Macros
#define TRANSFORM_TYPE_TRAIT_DEF(_, Trait)
Functions
static void DiagnoseLabelFollowedByDecl (Parser &P, const Stmt *SubStmt)

Macro Definition Documentation

TRANSFORM_TYPE_TRAIT_DEF

#define TRANSFORM_TYPE_TRAIT_DEF ( _,
Trait )

Value:

case tok::kw___##Trait:

Function Documentation

DiagnoseLabelFollowedByDecl()

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

Definition at line 677 of file ParseStmt.cpp.

References clang::Parser::Diag(), clang::Stmt::getBeginLoc(), clang::Parser::getLangOpts(), and clang::isa().