clang
7.0.0
|
#include "clang/Basic/AttrSubjectMatchRules.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Sema/Ownership.h"
#include "llvm/ADT/PointerUnion.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/TinyPtrVector.h"
#include "llvm/Support/Allocator.h"
#include "llvm/Support/VersionTuple.h"
#include <cassert>
#include <cstddef>
#include <cstring>
#include <utility>
#include "clang/Sema/AttrParsedAttrList.inc"
Go to the source code of this file.
Classes | |
struct | clang::AvailabilityChange |
Represents information about a change in availability for an entity, which is part of the encoding of the 'availability' attribute. More... | |
struct | clang::IdentifierLoc |
Wraps an identifier and optional source location for the identifier. More... | |
class | clang::ParsedAttr |
ParsedAttr - Represents a syntactic attribute. More... | |
struct | clang::ParsedAttr::TypeTagForDatatypeData |
struct | clang::ParsedAttr::PropertyData |
class | clang::AttributeFactory |
A factory, from which one makes pools, from which one creates individual attributes which are deallocated with the pool. More... | |
class | clang::AttributePool |
class | clang::ParsedAttributesView |
struct | clang::ParsedAttributesView::iterator |
struct | clang::ParsedAttributesView::const_iterator |
class | clang::ParsedAttributes |
ParsedAttributes - A collection of parsed attributes. More... | |
Namespaces | |
clang | |
Dataflow Directional Tag Classes. | |
Macros | |
#define | PARSED_ATTR(NAME) AT_##NAME, |
Typedefs | |
using | clang::ArgsUnion = llvm::PointerUnion< Expr *, IdentifierLoc * > |
A union of the various pointer types that can be passed to an ParsedAttr as an argument. More... | |
using | clang::ArgsVector = llvm::SmallVector< ArgsUnion, 12U > |
Enumerations | |
enum | clang::@321::AvailabilitySlot |
enum | clang::AttributeArgumentNType { clang::AANT_ArgumentIntOrBool, clang::AANT_ArgumentIntegerConstant, clang::AANT_ArgumentString, clang::AANT_ArgumentIdentifier } |
These constants match the enumerated choices of err_attribute_argument_n_type and err_attribute_argument_type. More... | |
enum | clang::AttributeDeclKind { clang::ExpectedFunction, clang::ExpectedUnion, clang::ExpectedVariableOrFunction, clang::ExpectedFunctionOrMethod, clang::ExpectedFunctionMethodOrBlock, clang::ExpectedFunctionMethodOrParameter, clang::ExpectedVariable, clang::ExpectedVariableOrField, clang::ExpectedVariableFieldOrTag, clang::ExpectedTypeOrNamespace, clang::ExpectedFunctionVariableOrClass, clang::ExpectedKernelFunction, clang::ExpectedFunctionWithProtoType } |
These constants match the enumerated choices of warn_attribute_wrong_decl_type and err_attribute_wrong_decl_type. More... | |
#define PARSED_ATTR | ( | NAME | ) | AT_##NAME, |
Definition at line 356 of file ParsedAttr.h.
enum clang::@321::AvailabilitySlot |
Definition at line 59 of file ParsedAttr.h.
AvailabilityChange Changes[NumAvailabilitySlots] |
Definition at line 65 of file ParsedAttr.h.
Referenced by clang::format::WhitespaceManager::addUntouchableToken(), clang::format::WhitespaceManager::generateReplacements(), clang::format::WhitespaceManager::Change::indentAndNestingLevel(), llvm::yaml::MappingTraits< clang::tooling::AtomicChange >::mapping(), clang::format::WhitespaceManager::replaceWhitespace(), and clang::format::WhitespaceManager::replaceWhitespaceInToken().
const Expr* Replacement |
Definition at line 67 of file ParsedAttr.h.
Referenced by attemptRecovery(), clang::Sema::DeduceTemplateArguments(), llvm::yaml::MappingTraits< clang::tooling::Replacement >::NormalizedReplacement::denormalize(), diagnoseDynamicExceptionSpecification(), clang::SubstTemplateTemplateParmStorage::getReplacement(), clang::SubstNonTypeTemplateParmExpr::getReplacement(), clang::ASTContext::getTypeDeclType(), clang::tooling::HeaderIncludes::insert(), llvm::yaml::MappingTraits< clang::tooling::Diagnostic >::mapping(), llvm::yaml::MappingTraits< clang::tooling::AtomicChange >::mapping(), clang::SubstTemplateTemplateParmStorage::Profile(), clang::TreeTransform< Derived >::RebuildQualifiedType(), clang::tooling::AtomicChange::replace(), clang::tooling::replaceStmtWithText(), clang::tooling::ReplaceNodeWithTemplate::run(), clang::ASTNodeImporter::VisitSubstTemplateTypeParmType(), and clang::format::WhitespaceManager::WhitespaceManager().
SourceLocation StrictLoc |
Definition at line 66 of file ParsedAttr.h.