OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:PrevDecl
(Results
1 - 7
of
7
) sorted by null
/external/clang/lib/AST/
DeclBase.cpp
967
Decl *
PrevDecl
= nullptr;
973
if (
PrevDecl
)
974
PrevDecl
->NextInContextAndBits.setPointer(D);
978
PrevDecl
= D;
981
return std::make_pair(FirstNewDecl,
PrevDecl
);
[
all
...]
/external/clang/lib/Sema/
SemaAccess.cpp
[
all
...]
SemaDeclObjC.cpp
465
NamedDecl *
PrevDecl
= LookupSingleName(TUScope, ClassName, ClassLoc,
468
if (
PrevDecl
&& !isa<ObjCInterfaceDecl>(
PrevDecl
)) {
470
Diag(
PrevDecl
->getLocation(), diag::note_previous_definition);
474
ObjCInterfaceDecl* PrevIDecl = dyn_cast_or_null<ObjCInterfaceDecl>(
PrevDecl
);
517
PrevDecl
= LookupSingleName(TUScope, SuperName, SuperLoc,
520
if (!
PrevDecl
) {
529
PrevDecl
= Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>();
533
if (declaresSameEntity(
PrevDecl
, IDecl)) {
539
dyn_cast_or_null<ObjCInterfaceDecl>(
PrevDecl
);
[
all
...]
SemaTemplateInstantiateDecl.cpp
661
EnumDecl *
PrevDecl
= nullptr;
667
PrevDecl
= cast<EnumDecl>(Prev);
672
PrevDecl
, D->isScoped(),
823
CXXRecordDecl *
PrevDecl
= nullptr;
831
PrevDecl
= PrevClassTemplate->getTemplatedDecl();
861
PrevDecl
= PrevClassTemplate->getTemplatedDecl();
[
all
...]
SemaTemplate.cpp
444
/// that the template parameter '
PrevDecl
' is being shadowed by a new
447
void Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *
PrevDecl
) {
448
assert(
PrevDecl
->isTemplateParameter() && "Not a template parameter");
458
<< cast<NamedDecl>(
PrevDecl
)->getDeclName();
459
Diag(
PrevDecl
->getLocation(), diag::note_template_param_here);
532
NamedDecl *
PrevDecl
= SemaRef.LookupSingleName(
534
if (
PrevDecl
&&
PrevDecl
->isTemplateParameter())
535
SemaRef.DiagnoseTemplateParameterShadow(Loc,
PrevDecl
);
[
all
...]
SemaDecl.cpp
[
all
...]
SemaDeclCXX.cpp
[
all
...]
Completed in 354 milliseconds