Home
last modified time | relevance | path

Searched refs:DeclInfo (Results 1 – 13 of 13) sorted by relevance

/external/clang/tools/libclang/
DIndexingContext.h66 struct DeclInfo : public CXIdxDeclInfo { struct
87 DeclInfo(bool isRedeclaration, bool isDefinition, bool isContainer) in DeclInfo() argument
97 DeclInfo(DInfoKind K, in DeclInfo() argument
110 struct ObjCContainerDeclInfo : public DeclInfo {
116 : DeclInfo(Info_ObjCContainer, isRedeclaration, in ObjCContainerDeclInfo()
124 : DeclInfo(K, isRedeclaration, /*isDefinition=*/!isForwardRef, in ObjCContainerDeclInfo()
129 static bool classof(const DeclInfo *D) { in classof()
154 static bool classof(const DeclInfo *D) { in classof()
168 static bool classof(const DeclInfo *D) { in classof()
183 static bool classof(const DeclInfo *D) { in classof()
[all …]
DIndexing.cpp778 const DeclInfo *DI = static_cast<const DeclInfo *>(DInfo); in clang_index_getObjCContainerDeclInfo()
791 const DeclInfo *DI = static_cast<const DeclInfo *>(DInfo); in clang_index_getObjCInterfaceDeclInfo()
804 const DeclInfo *DI = static_cast<const DeclInfo *>(DInfo); in clang_index_getObjCCategoryDeclInfo()
817 const DeclInfo *DI = static_cast<const DeclInfo *>(DInfo); in clang_index_getObjCProtocolRefListInfo()
838 const DeclInfo *DI = static_cast<const DeclInfo *>(DInfo); in clang_index_getObjCPropertyDeclInfo()
863 const DeclInfo *DI = static_cast<const DeclInfo *>(DInfo); in clang_index_getCXXClassDeclInfo()
DIndexingContext.cpp311 DeclInfo &DInfo, in handleDecl()
382 DeclInfo DInfo(!D->isFirstDecl(), isDef, isContainer); in handleFunction()
389 DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(), in handleVar()
395 DeclInfo DInfo(/*isRedeclaration=*/false, /*isDefinition=*/true, in handleField()
401 DeclInfo DInfo(/*isRedeclaration=*/false, /*isDefinition=*/true, in handleMSProperty()
407 DeclInfo DInfo(/*isRedeclaration=*/false, /*isDefinition=*/true, in handleEnumerator()
416 DeclInfo DInfo(!D->isFirstDecl(), D->isThisDeclarationADefinition(), in handleTagDecl()
422 DeclInfo DInfo(!D->isFirstDecl(), /*isDefinition=*/true, in handleTypedefName()
583 DeclInfo DInfo(!D->isCanonicalDecl(), isDef, isContainer); in handleObjCMethod()
599 DeclInfo DInfo(/*isRedeclaration=*/true, /*isDefinition=*/true, in handleSynthesizedObjCMethod()
[all …]
/external/clang/lib/Index/
DCommentToXML.cpp566 void formatTextOfDeclaration(const DeclInfo *DI,
581 void getSourceTextOfDeclaration(const DeclInfo *ThisDecl, in getSourceTextOfDeclaration()
594 const DeclInfo *DI, SmallString<128> &Declaration) { in formatTextOfDeclaration()
826 const DeclInfo *DI = C->getDeclInfo(); in visitFullComment()
830 case DeclInfo::OtherKind: in visitFullComment()
834 case DeclInfo::FunctionKind: in visitFullComment()
838 case DeclInfo::NotTemplate: in visitFullComment()
840 case DeclInfo::Template: in visitFullComment()
843 case DeclInfo::TemplateSpecialization: in visitFullComment()
846 case DeclInfo::TemplatePartialSpecialization: in visitFullComment()
[all …]
/external/clang/include/clang/Sema/
DLocInfoType.h36 TypeSourceInfo *DeclInfo; variable
43 DeclInfo(TInfo) { in LocInfoType()
50 TypeSourceInfo *getTypeSourceInfo() const { return DeclInfo; } in getTypeSourceInfo()
/external/clang/include/clang/AST/
DComment.h986 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()
DCommentSema.h50 DeclInfo *ThisDeclInfo;
DDecl.h593 llvm::PointerUnion<TypeSourceInfo*, ExtInfo*> DeclInfo; variable
599 bool hasExtInfo() const { return DeclInfo.is<ExtInfo*>(); } in hasExtInfo()
600 ExtInfo *getExtInfo() { return DeclInfo.get<ExtInfo*>(); } in getExtInfo()
601 const ExtInfo *getExtInfo() const { return DeclInfo.get<ExtInfo*>(); } in getExtInfo()
607 : ValueDecl(DK, DC, L, N, T), DeclInfo(TInfo), InnerLocStart(StartL) { in DeclaratorDecl()
614 : DeclInfo.get<TypeSourceInfo*>(); in getTypeSourceInfo()
620 DeclInfo = TI; in setTypeSourceInfo()
/external/clang/lib/AST/
DCommentSema.cpp40 ThisDeclInfo = new (Allocator) DeclInfo; in setDecl()
807 return ThisDeclInfo->getKind() == DeclInfo::FunctionKind; in isFunctionDecl()
840 if (ThisDeclInfo->getKind() == DeclInfo::VariableKind) { in isFunctionPointerVarDecl()
862 return ThisDeclInfo->getTemplateKind() != DeclInfo::NotTemplate; in isTemplateOrSpecialization()
DComment.cpp129 void DeclInfo::fill() { in fill()
DDecl.cpp1651 auto *savedTInfo = DeclInfo.get<TypeSourceInfo*>(); in setQualifierInfo()
1653 DeclInfo = new (getASTContext()) ExtInfo; in setQualifierInfo()
1668 DeclInfo = savedTInfo; in setQualifierInfo()
1682 auto *savedTInfo = DeclInfo.get<TypeSourceInfo*>(); in setTemplateParameterListsInfo()
1684 DeclInfo = new (getASTContext()) ExtInfo; in setTemplateParameterListsInfo()
DASTContext.cpp422 comments::DeclInfo *ThisDeclInfo = new (*this) comments::DeclInfo; in cloneFullComment()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp427 if (DD->DeclInfo) { in Visit()
429 DD->DeclInfo.get<DeclaratorDecl::ExtInfo *>(); in Visit()
434 DD->DeclInfo = GetTypeSourceInfo(Record, Idx); in Visit()
695 DD->DeclInfo = Info; in VisitDeclaratorDecl()