|
clang 22.0.0git
|
#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) |
|
static |
Definition at line 278 of file ParsedAttr.cpp.
References clang::SemaBase::Diag(), Diag(), clang::AttributeCommonInfo::getLoc(), getNumAttributeArgs(), and clang::Num.
Referenced by clang::ParsedAttr::checkAtLeastNumArgs(), clang::ParsedAttr::checkAtMostNumArgs(), and clang::ParsedAttr::checkExactlyNumArgs().
Definition at line 47 of file ParsedAttr.cpp.
|
static |
Definition at line 272 of file ParsedAttr.cpp.
References clang::ParsedAttr::getNumArgs(), and clang::ParsedAttr::hasParsedType().
Referenced by checkAttributeNumArgsImpl(), and handleCPUSpecificAttr().