clang 24.0.0git
SemaBPF.cpp File Reference
#include "clang/Sema/SemaBPF.h"
#include "clang/AST/ASTDiagnostic.h"
#include "clang/AST/Decl.h"
#include "clang/AST/Expr.h"
#include "clang/AST/Type.h"
#include "clang/Basic/DiagnosticSema.h"
#include "clang/Basic/TargetBuiltins.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Sema/ParsedAttr.h"
#include "clang/Sema/Sema.h"
#include "llvm/ADT/APSInt.h"
#include <optional>

Go to the source code of this file.

Namespaces

namespace  clang
 Top level wrappers for InstallAPI frontend operations.

Functions

static bool clang::isValidPreserveFieldInfoArg (Expr *Arg)
static bool clang::isValidPreserveTypeInfoArg (Expr *Arg)
static bool clang::isValidPreserveEnumValueArg (Expr *Arg)
static CastKind clang::getEnumeratorToPointerCastKind (ASTContext &Context, const Expr *E)
static void clang::unwrapPreserveEnumValueArg (ASTContext &Context, Expr *Arg)
static QualType clang::getPreserveAIEnumType (ASTContext &Context, const DeclRefExpr *E)
static std::optional< PartialDiagnosticAt > clang::getPreserveAIEnumeratorNote (ASTContext &Context, const Expr *E)
static Stmt * clang::keepEnumeratorsConstant (SemaBPF &S, Stmt *St)