clang 22.0.0git
ParsedAttr.cpp File Reference
#include "clang/Sema/ParsedAttr.h"
#include "clang/AST/ASTContext.h"
#include "clang/Basic/AttrSubjectMatchRules.h"
#include "clang/Basic/IdentifierTable.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Sema/SemaInternal.h"
#include "llvm/ADT/SmallVector.h"
#include <cassert>
#include <cstddef>
#include <utility>
#include "clang/Sema/AttrParsedAttrImpl.inc"

Go to the source code of this file.

Functions

static size_t getFreeListIndexForSize (size_t size)
static unsigned getNumAttributeArgs (const ParsedAttr &AL)
template<typename Compare>
static bool checkAttributeNumArgsImpl (Sema &S, const ParsedAttr &AL, unsigned Num, unsigned Diag, Compare Comp)

Function Documentation

◆ checkAttributeNumArgsImpl()

template<typename Compare>
bool checkAttributeNumArgsImpl ( Sema & S,
const ParsedAttr & AL,
unsigned Num,
unsigned Diag,
Compare Comp )
static

◆ getFreeListIndexForSize()

size_t getFreeListIndexForSize ( size_t size)
static

Definition at line 47 of file ParsedAttr.cpp.

◆ getNumAttributeArgs()

unsigned getNumAttributeArgs ( const ParsedAttr & AL)
static