Searched refs:FirstDecl (Results 1 - 8 of 8) sorted by relevance

/external/clang/lib/AST/
H A DDeclBase.cpp986 ExternalLast->NextInContextAndBits.setPointer(FirstDecl);
987 FirstDecl = ExternalFirst;
1029 return decl_iterator(FirstDecl);
1036 return decl_iterator(FirstDecl);
1043 return !FirstDecl;
1053 if (D == FirstDecl) {
1055 FirstDecl = LastDecl = 0;
1057 FirstDecl = D->NextInContextAndBits.getPointer();
1059 for (Decl *I = FirstDecl; true; I = I->NextInContextAndBits.getPointer()) {
1095 if (FirstDecl) {
[all...]
H A DDecl.cpp3053 return field_iterator(decl_iterator(FirstDecl));
3102 llvm::tie(FirstDecl, LastDecl) = BuildDeclChain(Decls,
/external/clang/include/clang/AST/
H A DDeclBase.h957 /// FirstDecl - The first declaration stored within this declaration
959 mutable Decl *FirstDecl; member in class:clang::DeclContext
980 FirstDecl(0), LastDecl(0) {}
1522 return D && (D->NextInContextAndBits.getPointer() || D == FirstDecl ||
/external/clang/lib/Sema/
H A DSemaDecl.cpp247 if (NamedDecl *FirstDecl = Correction.getCorrectionDecl())
248 Diag(FirstDecl->getLocation(), diag::note_previous_decl)
668 NamedDecl *FirstDecl = Corrected.getCorrectionDecl(); local
670 = FirstDecl? FirstDecl->getUnderlyingDecl() : 0;
705 if (FirstDecl) {
706 Result.addDecl(FirstDecl);
707 Diag(FirstDecl->getLocation(), diag::note_previous_decl)
823 NamedDecl *FirstDecl = (*Result.begin())->getUnderlyingDecl(); local
824 if (TypeDecl *Type = dyn_cast<TypeDecl>(FirstDecl)) {
[all...]
H A DSemaExpr.cpp219 const FunctionDecl *FirstDecl = Current->getCanonicalDecl(); local
220 SourceLocation DeclBegin = FirstDecl->getSourceRange().getBegin();
/external/clang/lib/Parse/
H A DParseDecl.cpp1544 Decl *FirstDecl = ParseDeclarationAfterDeclaratorAndAttributes(D); local
1546 ParseLexedAttributeList(LateParsedAttrs, FirstDecl, true, false);
1547 D.complete(FirstDecl);
1548 if (FirstDecl)
1549 DeclsInGroup.push_back(FirstDecl);
/external/clang/lib/Serialization/
H A DASTReaderDecl.cpp1551 T *FirstDecl = cast_or_null<T>(Reader.GetDecl(FirstDeclID)); local
1552 if (FirstDecl != D) {
1557 D->RedeclLink = Redeclarable<T>::PreviousDeclLink(FirstDecl);
H A DASTReader.cpp945 const DeclID *FirstDecl = F->FileSortedDecls + Record[6]; local
949 FileDeclIDs[FID] = FileDeclsInfo(F, llvm::makeArrayRef(FirstDecl,

Completed in 967 milliseconds