OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:OldD
(Results
1 - 10
of
10
) sorted by relevancy
/src/external/apache2/llvm/dist/clang/include/clang/AST/
DeclContextInternals.h
225
if (NamedDecl *
OldD
= getAsDecl()) {
226
if (D->declarationReplaces(
OldD
, IsKnownNewer)) {
231
// Add D after
OldD
.
233
DeclListNode *Node = C.AllocateDeclListNode(
OldD
);
Decl.h
325
/// its context, will replace the declaration
OldD
if introduced into scope.
333
/// than \p
OldD
(for instance, if this declaration is newly-created).
334
bool declarationReplaces(NamedDecl *
OldD
, bool IsKnownNewer = true) const;
/src/external/apache2/llvm/dist/clang/lib/Sema/
SemaCUDA.cpp
648
FunctionDecl *
OldD
= D->getAsFunction();
649
return
OldD
&&
OldD
->hasAttr<CUDADeviceAttr>() &&
650
!
OldD
->hasAttr<CUDAHostAttr>() &&
651
!IsOverload(NewD,
OldD
, /* UseMemberUsingDeclRules = */ false,
SemaDeclObjC.cpp
114
static bool diagnoseNoescape(const ParmVarDecl *NewD, const ParmVarDecl *
OldD
,
116
if (
OldD
->hasAttr<NoEscapeAttr>() && !NewD->hasAttr<NoEscapeAttr>()) {
118
S.Diag(
OldD
->getLocation(), diag::note_overridden_marked_noescape);
127
static void diagnoseNoescape(const ParmVarDecl *NewD, const ParmVarDecl *
OldD
,
130
if (!diagnoseNoescape(NewD,
OldD
, S))
SemaDecl.cpp
2286
NamedDecl *
OldD
= OldDecls.getRepresentativeDecl();
2287
if (
OldD
->getLocation().isValid())
2288
notePreviousDefinition(
OldD
, New->getLocation());
3175
DeclaratorDecl *
OldD
) {
3191
auto *SemaDC =
OldD
->getDeclContext()->getRedeclContext();
3196
NewD->isInvalidDecl() ||
OldD
->isInvalidDecl()) &&
3225
bool Sema::MergeFunctionDecl(FunctionDecl *New, NamedDecl *&
OldD
,
3228
FunctionDecl *Old =
OldD
->getAsFunction();
3230
if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(
OldD
)) {
3243
OldD
= Old = cast<FunctionDecl>(Shadow->getTargetDecl())
[
all
...]
SemaOverload.cpp
1035
NamedDecl *
OldD
= *I;
1038
if (isa<UsingShadowDecl>(
OldD
)) {
1045
OldD
= cast<UsingShadowDecl>(
OldD
)->getTargetDecl();
1062
if (FunctionDecl *OldF =
OldD
->getAsFunction()) {
1069
if (!isa<FunctionTemplateDecl>(
OldD
) &&
1083
} else if (isa<UsingDecl>(
OldD
) || isa<UsingPackDecl>(
OldD
)) {
1087
} else if (isa<TagDecl>(
OldD
)) {
1089
} else if (auto *UUD = dyn_cast<UnresolvedUsingValueDecl>(
OldD
)) {
[
all
...]
SemaDeclCXX.cpp
12655
NamedDecl *
OldD
= Previous.getRepresentativeDecl();
12656
if (
OldD
->getLocation().isValid())
12657
Diag(
OldD
->getLocation(), diag::note_previous_definition);
TreeTransform.h
11944
for (auto *
OldD
: Old->decls()) {
11945
Decl *InstD = getDerived().TransformDecl(Old->getNameLoc(),
OldD
);
11949
if (isa<UsingShadowDecl>(
OldD
))
/src/external/apache2/llvm/dist/clang/lib/AST/
Decl.cpp
1734
bool NamedDecl::declarationReplaces(NamedDecl *
OldD
, bool IsKnownNewer) const {
1735
assert(getDeclName() ==
OldD
->getDeclName() && "Declaration name mismatch");
1739
if (
OldD
->isFromASTFile() && isFromASTFile())
1743
if (
OldD
->getKind() != getKind())
1759
OldD
->getDeclContext()->getRedeclContext()))
1768
cast<UsingDecl>(
OldD
)->getQualifier());
1774
cast<UnresolvedUsingValueDecl>(
OldD
)->getQualifier());
1778
if (getCanonicalDecl() !=
OldD
->getCanonicalDecl())
1784
// Check whether this is actually newer than
OldD
. We want to keep the
1786
//
OldD
is usually the previous declaration
[
all
...]
/src/external/apache2/llvm/dist/clang/include/clang/Sema/
Sema.h
2695
bool canFullyTypeCheckRedeclaration(ValueDecl *NewD, ValueDecl *
OldD
,
Completed in 123 milliseconds
Indexes created Sun Sep 20 00:26:38 UTC 2026