clang 20.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/SmallString.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.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 288 of file ParsedAttr.cpp.
References Diag(), clang::SemaBase::Diag(), clang::AttributeCommonInfo::getLoc(), and getNumAttributeArgs().
Referenced by clang::ParsedAttr::checkAtLeastNumArgs(), clang::ParsedAttr::checkAtMostNumArgs(), and clang::ParsedAttr::checkExactlyNumArgs().
Definition at line 57 of file ParsedAttr.cpp.
|
static |
Definition at line 282 of file ParsedAttr.cpp.
References clang::ParsedAttr::getNumArgs(), and clang::ParsedAttr::hasParsedType().
Referenced by checkAttributeNumArgsImpl(), and handleCPUSpecificAttr().