|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/lib/CodeGen/CodeGenModule.h 76 class AnnotateAttr;
References
gen/tools/clang/include/clang/AST/AttrImpl.inc 1001 AnnotateAttr *AnnotateAttr::clone(ASTContext &C) const {
1002 auto *A = new (C) AnnotateAttr(C, *this, getAnnotation());
1002 auto *A = new (C) AnnotateAttr(C, *this, getAnnotation());
11540 return cast<AnnotateAttr>(this)->getSpelling();
12120 return cast<AnnotateAttr>(this)->clone(C);
12700 return cast<AnnotateAttr>(this)->printPretty(OS, Policy);
gen/tools/clang/include/clang/AST/AttrTextNodeDump.inc 76 void VisitAnnotateAttr(const AnnotateAttr *A) {
77 const auto *SA = cast<AnnotateAttr>(A); (void)SA;
77 const auto *SA = cast<AnnotateAttr>(A); (void)SA;
gen/tools/clang/include/clang/AST/AttrVisitor.inc 99 bool TraverseAnnotateAttr(AnnotateAttr *A);
100 bool VisitAnnotateAttr(AnnotateAttr *A) {
1402 bool VISITORCLASS<Derived>::TraverseAnnotateAttr(AnnotateAttr *A) {
4000 return getDerived().TraverseAnnotateAttr(cast<AnnotateAttr>(A));
gen/tools/clang/include/clang/AST/Attrs.inc 1257 static AnnotateAttr *CreateImplicit(ASTContext &Ctx, llvm::StringRef Annotation, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
1258 auto *A = new (Ctx) AnnotateAttr(Ctx, CommonInfo, Annotation);
1258 auto *A = new (Ctx) AnnotateAttr(Ctx, CommonInfo, Annotation);
1265 static AnnotateAttr *Create(ASTContext &Ctx, llvm::StringRef Annotation, const AttributeCommonInfo &CommonInfo = {SourceRange{}}) {
1266 auto *A = new (Ctx) AnnotateAttr(Ctx, CommonInfo, Annotation);
1266 auto *A = new (Ctx) AnnotateAttr(Ctx, CommonInfo, Annotation);
1272 static AnnotateAttr *CreateImplicit(ASTContext &Ctx, llvm::StringRef Annotation, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
1276 static AnnotateAttr *Create(ASTContext &Ctx, llvm::StringRef Annotation, SourceRange Range, AttributeCommonInfo::Syntax Syntax) {
1290 AnnotateAttr *clone(ASTContext &C) const;
gen/tools/clang/include/clang/Sema/AttrTemplateInstantiate.inc 137 const auto *A = cast<AnnotateAttr>(At);
137 const auto *A = cast<AnnotateAttr>(At);
gen/tools/clang/include/clang/Serialization/AttrPCHRead.inc 225 New = new (Context) AnnotateAttr(Context, Info, annotation);
gen/tools/clang/include/clang/Serialization/AttrPCHWrite.inc 169 const auto *SA = cast<AnnotateAttr>(A);
169 const auto *SA = cast<AnnotateAttr>(A);
include/llvm/ADT/STLExtras.h 75 typename std::add_pointer<typename std::add_const<T>::type>::type;
include/llvm/Support/Casting.h 58 return To::classof(&Val);
66 static inline bool doit(const From &) { return true; }
104 static inline bool doit(const From *Val) {
106 return isa_impl<To, From>::doit(*Val);
106 return isa_impl<To, From>::doit(*Val);
122 return isa_impl_wrap<To, SimpleFrom,
132 return isa_impl_cl<To,FromTy>::doit(Val);
142 return isa_impl_wrap<X, const Y,
172 using ret_type = To *; // Pointer arg case, return Ty*
176 using ret_type = const To *; // Constant pointer arg case, return const Ty*
198 using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
210 To, From, typename simplify_type<From>::SimpleType>::ret_type;
227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
228 typename cast_retty<To, FromTy>::ret_type Res2
256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
265 return cast_convert_val<X, Y*,
337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
tools/clang/examples/AnnotateFunctions/AnnotateFunctions.cpp 34 FD->addAttr(AnnotateAttr::CreateImplicit(FD->getASTContext(),
tools/clang/include/clang/AST/AttrIterator.h 47 while (!isa<SpecificAttr>(*Current))
52 while (Current != I && !isa<SpecificAttr>(*Current))
57 using value_type = SpecificAttr *;
58 using reference = SpecificAttr *;
59 using pointer = SpecificAttr *;
68 return cast<SpecificAttr>(*Current);
101 inline specific_attr_iterator<SpecificAttr, Container>
106 inline specific_attr_iterator<SpecificAttr, Container>
113 return specific_attr_begin<SpecificAttr>(container) !=
114 specific_attr_end<SpecificAttr>(container);
117 inline SpecificAttr *getSpecificAttr(const Container& container) {
118 specific_attr_iterator<SpecificAttr, Container> i =
119 specific_attr_begin<SpecificAttr>(container);
120 if (i != specific_attr_end<SpecificAttr>(container))
tools/clang/include/clang/AST/DeclBase.h 524 llvm::iterator_range<specific_attr_iterator<T>> specific_attrs() const {
525 return llvm::make_range(specific_attr_begin<T>(), specific_attr_end<T>());
525 return llvm::make_range(specific_attr_begin<T>(), specific_attr_end<T>());
529 specific_attr_iterator<T> specific_attr_begin() const {
534 specific_attr_iterator<T> specific_attr_end() const {
538 template<typename T> T *getAttr() const {
539 return hasAttrs() ? getSpecificAttr<T>(getAttrs()) : nullptr;
543 return hasAttrs() && hasSpecificAttr<T>(getAttrs());
tools/clang/lib/Analysis/RetainSummaryManager.cpp 43 if (auto AA = dyn_cast<AnnotateAttr>(A))
51 if (auto AA = dyn_cast<AnnotateAttr>(A))
59 if (auto AA = dyn_cast<AnnotateAttr>(A))
177 for (const auto *Ann : D->specific_attrs<AnnotateAttr>()) {
177 for (const auto *Ann : D->specific_attrs<AnnotateAttr>()) {
tools/clang/lib/CodeGen/Address.h 108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGDecl.cpp 413 if (D.hasAttr<AnnotateAttr>())
1571 if (D.hasAttr<AnnotateAttr>() && HaveInsertPoint())
2503 if (D.hasAttr<AnnotateAttr>())
tools/clang/lib/CodeGen/CGExpr.cpp 4125 if (field->hasAttr<AnnotateAttr>())
tools/clang/lib/CodeGen/CodeGenFunction.cpp 2090 for (const auto *I : D->specific_attrs<AnnotateAttr>())
2090 for (const auto *I : D->specific_attrs<AnnotateAttr>())
2104 for (const auto *I : D->specific_attrs<AnnotateAttr>()) {
2104 for (const auto *I : D->specific_attrs<AnnotateAttr>()) {
tools/clang/lib/CodeGen/CodeGenModule.cpp 2206 const AnnotateAttr *AA,
2227 for (const auto *I : D->specific_attrs<AnnotateAttr>())
2227 for (const auto *I : D->specific_attrs<AnnotateAttr>())
2785 if (D->hasAttr<AnnotateAttr>())
3979 if (D->hasAttr<AnnotateAttr>())
4430 if (D->hasAttr<AnnotateAttr>())
tools/clang/lib/CodeGen/CodeGenModule.h 1222 const AnnotateAttr *AA,
tools/clang/lib/Index/IndexSymbol.cpp 236 if (auto *Annot = D->getAttr<AnnotateAttr>()) {
236 if (auto *Annot = D->getAttr<AnnotateAttr>()) {
tools/clang/lib/Sema/SemaCodeComplete.cpp 3351 for (const auto *I : ND->specific_attrs<AnnotateAttr>())
3351 for (const auto *I : ND->specific_attrs<AnnotateAttr>())
tools/clang/lib/Sema/SemaDecl.cpp 2382 const AnnotateAttr *Ann = dyn_cast<AnnotateAttr>(A);
2382 const AnnotateAttr *Ann = dyn_cast<AnnotateAttr>(A);
2386 if (Ann->getAnnotation() == cast<AnnotateAttr>(i)->getAnnotation())
tools/clang/lib/Sema/SemaDeclAttr.cpp 3562 for (const auto *I : D->specific_attrs<AnnotateAttr>()) {
3562 for (const auto *I : D->specific_attrs<AnnotateAttr>()) {
3567 D->addAttr(::new (S.Context) AnnotateAttr(S.Context, AL, Str));
tools/clang/lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp 156 for (const auto *Ann : D->specific_attrs<AnnotateAttr>())
156 for (const auto *Ann : D->specific_attrs<AnnotateAttr>())
211 for (const auto *Ann : M->specific_attrs<AnnotateAttr>())
211 for (const auto *Ann : M->specific_attrs<AnnotateAttr>())
tools/clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp 227 for (const auto *Ann : M->specific_attrs<AnnotateAttr>()) {
227 for (const auto *Ann : M->specific_attrs<AnnotateAttr>()) {
tools/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp 651 D->specific_attr_begin<AnnotateAttr>(),
652 D->specific_attr_end<AnnotateAttr>(), [](const AnnotateAttr *Ann) {
664 D->specific_attr_begin<AnnotateAttr>(),
665 D->specific_attr_end<AnnotateAttr>(), [](const AnnotateAttr *Ann) {
tools/clang/tools/libclang/CIndex.cpp 4619 const AnnotateAttr *AA = cast<AnnotateAttr>(cxcursor::getCursorAttr(C));
4619 const AnnotateAttr *AA = cast<AnnotateAttr>(cxcursor::getCursorAttr(C));
usr/include/c++/7.4.0/type_traits 1558 { typedef _Tp type; };
1580 { typedef _Tp const type; };