/external/clang/lib/Sema/ |
SemaTemplate.cpp | 460 /// that the template parameter 'PrevDecl' is being shadowed by a new 463 void Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *PrevDecl) { 464 assert(PrevDecl->isTemplateParameter() && "Not a template parameter"); 474 << cast<NamedDecl>(PrevDecl)->getDeclName(); 475 Diag(PrevDecl->getLocation(), diag::note_template_param_here); 547 NamedDecl *PrevDecl = SemaRef.LookupSingleName( 549 if (PrevDecl && PrevDecl->isTemplateParameter()) 550 SemaRef.DiagnoseTemplateParameterShadow(Loc, PrevDecl); [all...] |
SemaDeclObjC.cpp | 475 NamedDecl *PrevDecl = LookupSingleName(TUScope, SuperName, SuperLoc, 478 if (!PrevDecl) { 488 PrevDecl = Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>(); 492 if (declaresSameEntity(PrevDecl, IDecl)) { 498 dyn_cast_or_null<ObjCInterfaceDecl>(PrevDecl); 507 if (PrevDecl && !SuperClassDecl) { 511 dyn_cast_or_null<TypedefNameDecl>(PrevDecl)) { 534 Diag(PrevDecl->getLocation(), diag::note_previous_definition); 538 if (!dyn_cast_or_null<TypedefNameDecl>(PrevDecl)) { [all...] |
SemaDecl.cpp | [all...] |
SemaTemplateInstantiateDecl.cpp | [all...] |
/external/clang/lib/AST/ |
DeclTemplate.cpp | 329 ClassTemplateDecl *PrevDecl) { 333 New->setPreviousDecl(PrevDecl); 710 ClassTemplateSpecializationDecl *PrevDecl) 713 PrevDecl), 733 ClassTemplateSpecializationDecl *PrevDecl) { 737 SpecializedTemplate, Args, PrevDecl); 740 Context.getTypeDeclType(Result, PrevDecl); [all...] |
DeclObjC.cpp | [all...] |
DeclCXX.cpp | 88 CXXRecordDecl *PrevDecl) 89 : RecordDecl(K, TK, C, DC, StartLoc, IdLoc, Id, PrevDecl), 90 DefinitionData(PrevDecl ? PrevDecl->DefinitionData 97 CXXRecordDecl* PrevDecl, 100 IdLoc, Id, PrevDecl); 105 C.getTypeDeclType(R, PrevDecl); 123 C.getTypeDeclType(R, /*PrevDecl=*/nullptr); [all...] |
/external/clang/include/clang/AST/ |
Decl.h | 488 IdentifierInfo *Id, NamespaceDecl *PrevDecl); 499 NamespaceDecl *PrevDecl); [all...] |
Redeclarable.h | 175 /// \brief Set the previous declaration. If PrevDecl is NULL, set this as the 177 void setPreviousDecl(decl_type *PrevDecl);
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/clang/include/clang/AST/ |
Decl.h | 488 IdentifierInfo *Id, NamespaceDecl *PrevDecl); 499 NamespaceDecl *PrevDecl); [all...] |
Redeclarable.h | 174 /// \brief Set the previous declaration. If PrevDecl is NULL, set this as the 176 void setPreviousDecl(decl_type *PrevDecl);
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/clang/include/clang/AST/ |
Decl.h | 488 IdentifierInfo *Id, NamespaceDecl *PrevDecl); 499 NamespaceDecl *PrevDecl); [all...] |
Redeclarable.h | 174 /// \brief Set the previous declaration. If PrevDecl is NULL, set this as the 176 void setPreviousDecl(decl_type *PrevDecl);
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/clang/include/clang/AST/ |
Decl.h | 488 IdentifierInfo *Id, NamespaceDecl *PrevDecl); 499 NamespaceDecl *PrevDecl); [all...] |
Redeclarable.h | 174 /// \brief Set the previous declaration. If PrevDecl is NULL, set this as the 176 void setPreviousDecl(decl_type *PrevDecl);
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/ |
Decl.h | 488 IdentifierInfo *Id, NamespaceDecl *PrevDecl); 499 NamespaceDecl *PrevDecl); [all...] |
Redeclarable.h | 174 /// \brief Set the previous declaration. If PrevDecl is NULL, set this as the 176 void setPreviousDecl(decl_type *PrevDecl);
|
/prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/clang/include/clang/AST/ |
Decl.h | 488 IdentifierInfo *Id, NamespaceDecl *PrevDecl); 499 NamespaceDecl *PrevDecl); [all...] |
Redeclarable.h | 174 /// \brief Set the previous declaration. If PrevDecl is NULL, set this as the 176 void setPreviousDecl(decl_type *PrevDecl);
|
/prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/clang/include/clang/AST/ |
Decl.h | 488 IdentifierInfo *Id, NamespaceDecl *PrevDecl); 499 NamespaceDecl *PrevDecl); [all...] |
Redeclarable.h | 174 /// \brief Set the previous declaration. If PrevDecl is NULL, set this as the 176 void setPreviousDecl(decl_type *PrevDecl);
|
/prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/clang/include/clang/AST/ |
Decl.h | 488 IdentifierInfo *Id, NamespaceDecl *PrevDecl); 499 NamespaceDecl *PrevDecl); [all...] |
Redeclarable.h | 174 /// \brief Set the previous declaration. If PrevDecl is NULL, set this as the 176 void setPreviousDecl(decl_type *PrevDecl);
|
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/clang/include/clang/AST/ |
Decl.h | 488 IdentifierInfo *Id, NamespaceDecl *PrevDecl); 499 NamespaceDecl *PrevDecl); [all...] |
Redeclarable.h | 174 /// \brief Set the previous declaration. If PrevDecl is NULL, set this as the 176 void setPreviousDecl(decl_type *PrevDecl);
|