Home
last modified time | relevance | path

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

/external/clang/tools/libclang/
DIndexingContext.h63 struct DeclInfo : public CXIdxDeclInfo { struct
84 DeclInfo(bool isRedeclaration, bool isDefinition, bool isContainer) in DeclInfo() argument
93 DeclInfo(DInfoKind K, in DeclInfo() argument
104 static bool classof(const DeclInfo *) { return true; } in classof() argument
107 struct ObjCContainerDeclInfo : public DeclInfo {
113 : DeclInfo(Info_ObjCContainer, isRedeclaration, in ObjCContainerDeclInfo()
121 : DeclInfo(K, isRedeclaration, /*isDefinition=*/!isForwardRef, in ObjCContainerDeclInfo()
126 static bool classof(const DeclInfo *D) { in classof()
152 static bool classof(const DeclInfo *D) { in classof()
167 static bool classof(const DeclInfo *D) { in classof()
[all …]
DIndexing.cpp571 const DeclInfo *DI = static_cast<const DeclInfo *>(DInfo); in clang_index_getObjCContainerDeclInfo()
584 const DeclInfo *DI = static_cast<const DeclInfo *>(DInfo); in clang_index_getObjCInterfaceDeclInfo()
597 const DeclInfo *DI = static_cast<const DeclInfo *>(DInfo); in clang_index_getObjCCategoryDeclInfo()
610 const DeclInfo *DI = static_cast<const DeclInfo *>(DInfo); in clang_index_getObjCProtocolRefListInfo()
631 const DeclInfo *DI = static_cast<const DeclInfo *>(DInfo); in clang_index_getObjCPropertyDeclInfo()
656 const DeclInfo *DI = static_cast<const DeclInfo *>(DInfo); in clang_index_getCXXClassDeclInfo()
DIndexingContext.cpp252 DeclInfo &DInfo, in handleDecl()
314 DeclInfo DInfo(!D->isFirstDeclaration(), D->isThisDeclarationADefinition(), in handleFunction()
320 DeclInfo DInfo(!D->isFirstDeclaration(), D->isThisDeclarationADefinition(), in handleVar()
326 DeclInfo DInfo(/*isRedeclaration=*/false, /*isDefinition=*/true, in handleField()
332 DeclInfo DInfo(/*isRedeclaration=*/false, /*isDefinition=*/true, in handleEnumerator()
341 DeclInfo DInfo(!D->isFirstDeclaration(), D->isThisDeclarationADefinition(), in handleTagDecl()
347 DeclInfo DInfo(!D->isFirstDeclaration(), /*isDefinition=*/true, in handleTypedefName()
498 DeclInfo DInfo(!D->isCanonicalDecl(), D->isThisDeclarationADefinition(), in handleObjCMethod()
512 DeclInfo DInfo(/*isRedeclaration=*/true, /*isDefinition=*/true, in handleSynthesizedObjCMethod()
543 DeclInfo DInfo(/*isRedeclaration=*/!D->isOriginalNamespace(), in handleNamespace()
[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/
DDecl.h596 llvm::PointerUnion<TypeSourceInfo*, ExtInfo*> DeclInfo; variable
602 bool hasExtInfo() const { return DeclInfo.is<ExtInfo*>(); } in hasExtInfo()
603 ExtInfo *getExtInfo() { return DeclInfo.get<ExtInfo*>(); } in getExtInfo()
604 const ExtInfo *getExtInfo() const { return DeclInfo.get<ExtInfo*>(); } in getExtInfo()
610 : ValueDecl(DK, DC, L, N, T), DeclInfo(TInfo), InnerLocStart(StartL) { in DeclaratorDecl()
617 : DeclInfo.get<TypeSourceInfo*>(); in getTypeSourceInfo()
623 DeclInfo = TI; in setTypeSourceInfo()
/external/clang/lib/AST/
DDecl.cpp1021 TypeSourceInfo *savedTInfo = DeclInfo.get<TypeSourceInfo*>(); in setQualifierInfo()
1023 DeclInfo = new (getASTContext()) ExtInfo; in setQualifierInfo()
1038 DeclInfo = savedTInfo; in setQualifierInfo()
1054 TypeSourceInfo *savedTInfo = DeclInfo.get<TypeSourceInfo*>(); in setTemplateParameterListsInfo()
1056 DeclInfo = new (getASTContext()) ExtInfo; in setTemplateParameterListsInfo()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp304 if (DD->DeclInfo) { in Visit()
306 DD->DeclInfo.get<DeclaratorDecl::ExtInfo *>(); in Visit()
311 DD->DeclInfo = GetTypeSourceInfo(Record, Idx); in Visit()
492 DD->DeclInfo = Info; in VisitDeclaratorDecl()