OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Redecl
(Results
1 - 24
of
24
) sorted by relevancy
/src/external/apache2/llvm/dist/clang/include/clang/Sema/
Lookup.h
147
Sema::RedeclarationKind
Redecl
= Sema::NotForRedeclaration)
149
Redecl
(
Redecl
!= Sema::NotForRedeclaration),
150
ExternalRedecl(
Redecl
== Sema::ForExternalRedeclaration),
151
Diagnose(
Redecl
== Sema::NotForRedeclaration) {
160
Sema::RedeclarationKind
Redecl
= Sema::NotForRedeclaration)
162
Redecl
(
Redecl
!= Sema::NotForRedeclaration),
163
ExternalRedecl(
Redecl
== Sema::ForExternalRedeclaration),
164
Diagnose(
Redecl
== Sema::NotForRedeclaration)
[
all
...]
Sema.h
4080
RedeclarationKind
Redecl
4094
RedeclarationKind
Redecl
/src/external/apache2/llvm/dist/clang/lib/AST/
ASTDumper.cpp
60
// If requested, dump the
redecl
chain for this lookup.
93
auto *
Redecl
= dyn_cast<SpecializationDecl>(RedeclWithBadType);
94
if (!
Redecl
) {
102
switch (
Redecl
->getTemplateSpecializationKind()) {
111
NodeDumper.dumpDeclRef(
Redecl
);
113
Visit(
Redecl
);
DeclObjC.cpp
914
ObjCMethodDecl *
Redecl
= nullptr;
916
Redecl
= const_cast<ObjCMethodDecl*>(Ctx.getObjCMethodRedeclaration(this));
917
if (
Redecl
)
918
return
Redecl
;
926
Redecl
= ImplD->getMethod(getSelector(), isInstanceMethod());
931
Redecl
= ImplD->getMethod(getSelector(), isInstanceMethod());
936
Redecl
= IFD->getMethod(getSelector(), isInstanceMethod());
941
Redecl
= CatD->getMethod(getSelector(), isInstanceMethod());
948
if (
Redecl
&& cast<Decl>(
Redecl
->getDeclContext())->isInvalidDecl()
[
all
...]
APValue.cpp
73
for (auto *
Redecl
= cast<ValueDecl>(D->getMostRecentDecl());
Redecl
;
74
Redecl
= cast_or_null<ValueDecl>(
Redecl
->getPreviousDecl())) {
75
QualType T =
Redecl
->getType();
Decl.cpp
3413
static bool redeclForcesDefMSVC(const FunctionDecl *
Redecl
) {
3414
if (
Redecl
->getStorageClass() != SC_Extern)
3417
for (const FunctionDecl *FD =
Redecl
->getPreviousDecl(); FD;
3425
static bool RedeclForcesDefC99(const FunctionDecl *
Redecl
) {
3427
if (!
Redecl
->getLexicalDeclContext()->isTranslationUnit())
3432
if (
Redecl
->isImplicit())
3435
if (!
Redecl
->isInlineSpecified() ||
Redecl
->getStorageClass() == SC_Extern)
3588
for (auto
Redecl
: redecls()) {
3589
if (
Redecl
->isInlineSpecified() &
[
all
...]
ASTContext.cpp
425
for (const auto
Redecl
: D->redecls()) {
426
assert(
Redecl
);
429
if (LastCheckedRedecl ==
Redecl
) {
434
const RawComment *RedeclComment = getRawCommentForDeclNoCache(
Redecl
);
436
cacheRawCommentForDecl(*
Redecl
, *RedeclComment);
438
*OriginalDecl =
Redecl
;
441
CommentlessRedeclChains[CanonicalD] =
Redecl
;
2838
const ObjCMethodDecl *
Redecl
) {
2840
ObjCMethodRedecls[MD] =
Redecl
;
/src/external/apache2/llvm/dist/clang/lib/Serialization/
ASTReaderDecl.cpp
414
void mergeRedeclarable(Redeclarable<T> *D, RedeclarableResult &
Redecl
,
419
RedeclarableResult &
Redecl
,
675
RedeclarableResult
Redecl
= VisitRedeclarable(TD);
688
return
Redecl
;
692
RedeclarableResult
Redecl
= VisitTypedefNameDecl(TD);
693
mergeRedeclarable(TD,
Redecl
);
697
RedeclarableResult
Redecl
= VisitTypedefNameDecl(TD);
702
mergeRedeclarable(TD,
Redecl
);
706
RedeclarableResult
Redecl
= VisitRedeclarable(TD);
736
mergeRedeclarable(TD,
Redecl
);
[
all
...]
ASTWriterDecl.cpp
1128
assert(D->getPreviousDecl() == nullptr && "PARM_VAR_DECL can't be
redecl
");
1774
for (const Decl *
Redecl
= D;
Redecl
;
Redecl
=
Redecl
->getPreviousDecl())
1775
if (IsLocalDecl(
Redecl
))
1776
D =
Redecl
;
1797
//
redecl
chain.
ASTWriter.cpp
3235
if (Decl *
Redecl
= D->getPreviousDecl()) {
3237
for (;
Redecl
;
Redecl
=
Redecl
->getPreviousDecl()) {
3239
if (!
Redecl
->isFromASTFile()) {
3243
if (!
Redecl
->getDeclContext()->getRedeclContext()->Equals(
3246
return cast<NamedDecl>(
Redecl
);
3251
if (
Redecl
->getOwningModuleID() == 0)
3736
// another declaration in the
redecl
chain. Any non-implicit constructor or
5778
// If we don't already know the exception specification for this
redecl
[
all
...]
ASTReader.cpp
11565
for (auto *
Redecl
: Update.second->redecls())
11566
getContext().adjustExceptionSpec(cast<FunctionDecl>(
Redecl
), ESI);
/src/external/apache2/llvm/dist/clang/include/clang/AST/
JSONNodeDumper.h
362
const auto *
Redecl
= dyn_cast<SpecializationDecl>(RedeclWithBadType);
363
if (!
Redecl
) {
372
switch (
Redecl
->getTemplateSpecializationKind()) {
381
NodeDumper.AddChild([=] { NodeDumper.writeBareDeclRef(
Redecl
); });
383
Visit(
Redecl
);
ASTNodeTraverser.h
486
auto *
Redecl
= dyn_cast<SpecializationDecl>(RedeclWithBadType);
487
if (!
Redecl
) {
495
Visit(
Redecl
);
ASTContext.h
2821
const ObjCMethodDecl *
Redecl
);
/src/external/apache2/llvm/dist/clang/lib/Sema/
SemaAvailability.cpp
343
for (const Decl *
Redecl
= OffendingDecl->getMostRecentDecl();
Redecl
;
344
Redecl
=
Redecl
->getPreviousDecl()) {
346
getAttrForPlatform(S.Context,
Redecl
);
350
NoteLocation =
Redecl
->getLocation();
SemaAttr.cpp
104
for (Decl *
Redecl
: Record->redecls())
105
Redecl
->addAttr(Attribute::CreateImplicit(Context, /*DerefType=*/nullptr));
SemaExceptionSpec.cpp
245
for (FunctionDecl *
Redecl
: FD->redecls())
246
Context.adjustExceptionSpec(
Redecl
, ESI);
SemaLookup.cpp
271
assert(Redeclaration && "should only be used for
redecl
lookup");
1620
for (auto *
Redecl
: D->redecls()) {
1621
auto *R = cast<NamedDecl>(
Redecl
);
1634
// Only return false if there is at least one
redecl
that is not filtered out.
3025
RedeclarationKind
Redecl
) {
3026
LookupResult R(*this, Name, Loc, NameKind,
Redecl
);
3034
RedeclarationKind
Redecl
) {
3036
LookupObjCProtocolName,
Redecl
);
SemaExprMember.cpp
696
Sema::RedeclarationKind
Redecl
;
718
LookupResult R(Q.SemaRef, Q.NameInfo, Q.LookupKind, Q.
Redecl
);
SemaDecl.cpp
3322
// chain, emitting a "previous
redecl
" note is pointless.
10615
// Else, this is simply a non-
redecl
case. Checking the 'value' is only
15245
default: llvm_unreachable("Invalid tag kind for
redecl
diagnostic!");
15388
const TagDecl *
Redecl
= PrevDef ? PrevDef : Previous;
15389
if (
Redecl
->getTagKind() != NewTag) {
15393
Diag(
Redecl
->getLocation(), diag::note_previous_use);
15398
<< getRedeclDiagFromTagKind(
Redecl
->getTagKind())
15400
TypeWithKeyword::getTagTypeKindName(
Redecl
->getTagKind()));
15587
RedeclarationKind
Redecl
= forRedeclarationInCurContext();
15589
Redecl
= NotForRedeclaration
[
all
...]
SemaType.cpp
8444
for (auto *
Redecl
: ED->redecls()) {
8445
if (isVisible(
Redecl
))
8447
if (
Redecl
->isThisDeclarationADefinition() ||
8448
(
Redecl
->isCanonicalDecl() && !*Suggested))
8449
*Suggested =
Redecl
;
SemaDeclAttr.cpp
4661
for (Decl *
Redecl
: D->redecls()) {
4662
Redecl
->addAttr(::new (S.Context) OwnerAttr(S.Context, AL, DerefTypeLoc));
4678
for (Decl *
Redecl
: D->redecls()) {
4679
Redecl
->addAttr(::new (S.Context)
SemaExprObjC.cpp
3852
for (auto *
Redecl
: RT->getDecl()->getMostRecentDecl()->redecls()) {
3853
if (auto *attr =
Redecl
->getAttr<T>())
/src/external/apache2/llvm/dist/clang/lib/CodeGen/
CodeGenModule.cpp
1806
auto CheckRedeclForInline = [](const FunctionDecl *
Redecl
) {
1807
return
Redecl
->isInlineSpecified();
Completed in 229 milliseconds
Indexes created Tue Feb 24 08:35:24 UTC 2026