OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:PrevDecl
(Results
1 - 8
of
8
) sorted by null
/external/clang/lib/AST/
DeclBase.cpp
1033
Decl *
PrevDecl
= nullptr;
1039
if (
PrevDecl
)
1040
PrevDecl
->NextInContextAndBits.setPointer(D);
1044
PrevDecl
= D;
1047
return std::make_pair(FirstNewDecl,
PrevDecl
);
[
all
...]
/external/clang/lib/Sema/
Sema.cpp
732
Decl *
PrevDecl
= LookupSingleName(TUScope, WeakID.first, SourceLocation(),
734
if (
PrevDecl
!= nullptr &&
735
!(isa<FunctionDecl>(
PrevDecl
) || isa<VarDecl>(
PrevDecl
)))
[
all
...]
SemaAccess.cpp
[
all
...]
SemaDeclObjC.cpp
476
NamedDecl *
PrevDecl
= LookupSingleName(TUScope, SuperName, SuperLoc,
479
if (!
PrevDecl
) {
489
PrevDecl
= Corrected.getCorrectionDeclAs<ObjCInterfaceDecl>();
493
if (declaresSameEntity(
PrevDecl
, IDecl)) {
499
dyn_cast_or_null<ObjCInterfaceDecl>(
PrevDecl
);
508
if (
PrevDecl
&& !SuperClassDecl) {
512
dyn_cast_or_null<TypedefNameDecl>(
PrevDecl
)) {
535
Diag(
PrevDecl
->getLocation(), diag::note_previous_definition);
539
if (!dyn_cast_or_null<TypedefNameDecl>(
PrevDecl
)) {
[
all
...]
SemaTemplateInstantiateDecl.cpp
778
EnumDecl *
PrevDecl
= nullptr;
784
PrevDecl
= cast<EnumDecl>(Prev);
789
PrevDecl
, D->isScoped(),
[
all
...]
SemaTemplate.cpp
445
/// that the template parameter '
PrevDecl
' is being shadowed by a new
448
void Sema::DiagnoseTemplateParameterShadow(SourceLocation Loc, Decl *
PrevDecl
) {
449
assert(
PrevDecl
->isTemplateParameter() && "Not a template parameter");
459
<< cast<NamedDecl>(
PrevDecl
)->getDeclName();
460
Diag(
PrevDecl
->getLocation(), diag::note_template_param_here);
533
NamedDecl *
PrevDecl
= SemaRef.LookupSingleName(
535
if (
PrevDecl
&&
PrevDecl
->isTemplateParameter())
536
SemaRef.DiagnoseTemplateParameterShadow(Loc,
PrevDecl
);
[
all
...]
SemaDecl.cpp
[
all
...]
SemaDeclCXX.cpp
[
all
...]
Completed in 229 milliseconds