/external/clang/tools/libclang/ |
D | CXIndexDataConsumer.h | 67 struct DeclInfo : public CXIdxDeclInfo { struct 88 DeclInfo(bool isRedeclaration, bool isDefinition, bool isContainer) in DeclInfo() argument 98 DeclInfo(DInfoKind K, in DeclInfo() function 111 struct ObjCContainerDeclInfo : public DeclInfo { 117 : DeclInfo(Info_ObjCContainer, isRedeclaration, in ObjCContainerDeclInfo() 125 : DeclInfo(K, isRedeclaration, /*isDefinition=*/!isForwardRef, in ObjCContainerDeclInfo() 130 static bool classof(const DeclInfo *D) { in classof() 155 static bool classof(const DeclInfo *D) { in classof() 169 static bool classof(const DeclInfo *D) { in classof() 184 static bool classof(const DeclInfo *D) { in classof() [all …]
|
D | Indexing.cpp | 701 const DeclInfo *DI = static_cast<const DeclInfo *>(DInfo); in clang_index_getObjCContainerDeclInfo() 714 const DeclInfo *DI = static_cast<const DeclInfo *>(DInfo); in clang_index_getObjCInterfaceDeclInfo() 727 const DeclInfo *DI = static_cast<const DeclInfo *>(DInfo); in clang_index_getObjCCategoryDeclInfo() 740 const DeclInfo *DI = static_cast<const DeclInfo *>(DInfo); in clang_index_getObjCProtocolRefListInfo() 761 const DeclInfo *DI = static_cast<const DeclInfo *>(DInfo); in clang_index_getObjCPropertyDeclInfo() 786 const DeclInfo *DI = static_cast<const DeclInfo *>(DInfo); in clang_index_getCXXClassDeclInfo()
|
D | CXIndexDataConsumer.cpp | 531 DeclInfo &DInfo, in handleDecl() 605 DeclInfo DInfo(!D->isFirstDecl(), isDef, isContainer); in handleFunction() 612 DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(), in handleVar() 618 DeclInfo DInfo(/*isRedeclaration=*/false, /*isDefinition=*/true, in handleField() 624 DeclInfo DInfo(/*isRedeclaration=*/false, /*isDefinition=*/true, in handleMSProperty() 630 DeclInfo DInfo(/*isRedeclaration=*/false, /*isDefinition=*/true, in handleEnumerator() 639 DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(), in handleTagDecl() 645 DeclInfo DInfo(!D->isFirstDecl(), /*isDefinition=*/true, in handleTypedefName() 806 DeclInfo DInfo(!D->isCanonicalDecl(), isDef, isContainer); in handleObjCMethod() 823 DeclInfo DInfo(/*isRedeclaration=*/true, /*isDefinition=*/true, in handleSynthesizedObjCMethod() [all …]
|
/external/clang/include/clang/AST/ |
D | LocInfoType.h | 36 TypeSourceInfo *DeclInfo; variable 42 DeclInfo(TInfo) { in LocInfoType() 49 TypeSourceInfo *getTypeSourceInfo() const { return DeclInfo; } in getTypeSourceInfo()
|
D | Comment.h | 986 struct DeclInfo { struct 1099 DeclInfo *ThisDeclInfo; argument 1102 FullComment(ArrayRef<BlockContentComment *> Blocks, DeclInfo *D) : in FullComment() 1129 const DeclInfo *getDeclInfo() const LLVM_READONLY { in getDeclInfo()
|
D | CommentSema.h | 50 DeclInfo *ThisDeclInfo;
|
D | Decl.h | 653 llvm::PointerUnion<TypeSourceInfo*, ExtInfo*> DeclInfo; variable 659 bool hasExtInfo() const { return DeclInfo.is<ExtInfo*>(); } in hasExtInfo() 660 ExtInfo *getExtInfo() { return DeclInfo.get<ExtInfo*>(); } in getExtInfo() 661 const ExtInfo *getExtInfo() const { return DeclInfo.get<ExtInfo*>(); } in getExtInfo() 667 : ValueDecl(DK, DC, L, N, T), DeclInfo(TInfo), InnerLocStart(StartL) { in DeclaratorDecl() 674 : DeclInfo.get<TypeSourceInfo*>(); in getTypeSourceInfo() 680 DeclInfo = TI; in setTypeSourceInfo()
|
/external/clang/lib/Index/ |
D | CommentToXML.cpp | 566 void formatTextOfDeclaration(const DeclInfo *DI, 581 void getSourceTextOfDeclaration(const DeclInfo *ThisDecl, in getSourceTextOfDeclaration() 594 const DeclInfo *DI, SmallString<128> &Declaration) { in formatTextOfDeclaration() 825 const DeclInfo *DI = C->getDeclInfo(); in visitFullComment() 829 case DeclInfo::OtherKind: in visitFullComment() 833 case DeclInfo::FunctionKind: in visitFullComment() 837 case DeclInfo::NotTemplate: in visitFullComment() 839 case DeclInfo::Template: in visitFullComment() 842 case DeclInfo::TemplateSpecialization: in visitFullComment() 845 case DeclInfo::TemplatePartialSpecialization: in visitFullComment() [all …]
|
/external/clang/lib/AST/ |
D | CommentSema.cpp | 40 ThisDeclInfo = new (Allocator) DeclInfo; in setDecl() 805 return ThisDeclInfo->getKind() == DeclInfo::FunctionKind; in isFunctionDecl() 838 if (ThisDeclInfo->getKind() == DeclInfo::VariableKind) { in isFunctionPointerVarDecl() 860 return ThisDeclInfo->getTemplateKind() != DeclInfo::NotTemplate; in isTemplateOrSpecialization()
|
D | Comment.cpp | 129 void DeclInfo::fill() { in fill()
|
D | Decl.cpp | 1654 auto *savedTInfo = DeclInfo.get<TypeSourceInfo*>(); in setQualifierInfo() 1656 DeclInfo = new (getASTContext()) ExtInfo; in setQualifierInfo() 1671 DeclInfo = savedTInfo; in setQualifierInfo() 1685 auto *savedTInfo = DeclInfo.get<TypeSourceInfo*>(); in setTemplateParameterListsInfo() 1687 DeclInfo = new (getASTContext()) ExtInfo; in setTemplateParameterListsInfo()
|
D | ASTContext.cpp | 423 comments::DeclInfo *ThisDeclInfo = new (*this) comments::DeclInfo; in cloneFullComment()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 459 if (DD->DeclInfo) { in Visit() 461 DD->DeclInfo.get<DeclaratorDecl::ExtInfo *>(); in Visit() 466 DD->DeclInfo = GetTypeSourceInfo(Record, Idx); in Visit() 750 DD->DeclInfo = Info; in VisitDeclaratorDecl()
|