HomeSort by: relevance | last modified time | path
    Searched refs:UsingShadowDecl (Results 1 - 25 of 37) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/clang/include/clang/AST/
DeclCXX.h 3175 /// // Also creates a UsingShadowDecl for A::foo() in B
3178 class UsingShadowDecl : public NamedDecl, public Redeclarable<UsingShadowDecl> {
3190 using redeclarable_base = Redeclarable<UsingShadowDecl>;
3192 UsingShadowDecl *getNextRedeclarationImpl() override {
3196 UsingShadowDecl *getPreviousDeclImpl() override {
3200 UsingShadowDecl *getMostRecentDeclImpl() override {
3205 UsingShadowDecl(Kind K, ASTContext &C, DeclContext *DC, SourceLocation Loc,
3207 UsingShadowDecl(Kind K, ASTContext &C, EmptyShell);
3213 static UsingShadowDecl *Create(ASTContext &C, DeclContext *DC
    [all...]
ASTContext.h 136 class UsingShadowDecl;
520 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>
909 void setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst,
910 UsingShadowDecl *Pattern);
911 UsingShadowDecl *getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst);
JSONNodeDumper.h 237 void VisitUsingShadowDecl(const UsingShadowDecl *USD);
TextNodeDumper.h 353 void VisitUsingShadowDecl(const UsingShadowDecl *D);
ASTNodeTraverser.h 604 void VisitUsingShadowDecl(const UsingShadowDecl *D) {
  /src/external/apache2/llvm/dist/clang/lib/AST/
DeclCXX.cpp 1364 if (auto *Shadow = dyn_cast<UsingShadowDecl>(D)) {
2983 void UsingShadowDecl::anchor() {}
2985 UsingShadowDecl::UsingShadowDecl(Kind K, ASTContext &C, DeclContext *DC,
2995 UsingShadowDecl::UsingShadowDecl(Kind K, ASTContext &C, EmptyShell Empty)
2999 UsingShadowDecl *
3000 UsingShadowDecl::CreateDeserialized(ASTContext &C, unsigned ID) {
3001 return new (C, ID) UsingShadowDecl(UsingShadow, C, EmptyShell());
3004 UsingDecl *UsingShadowDecl::getUsingDecl() const
    [all...]
DeclPrinter.cpp 101 void VisitUsingShadowDecl(UsingShadowDecl *D);
1626 void DeclPrinter::VisitUsingShadowDecl(UsingShadowDecl *D) {
Decl.cpp 1816 while (auto *UD = dyn_cast<UsingShadowDecl>(ND))
1833 if (isa<UsingShadowDecl>(D))
1834 D = cast<UsingShadowDecl>(D)->getTargetDecl();
ASTContext.cpp 1574 UsingShadowDecl *
1575 ASTContext::getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst) {
1576 llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>::const_iterator Pos
1585 ASTContext::setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst,
1586 UsingShadowDecl *Pattern) {
8399 (isa<UsingShadowDecl>(D) &&
ASTImporter.cpp 513 ExpectedDecl VisitUsingShadowDecl(UsingShadowDecl *D);
4604 for (UsingShadowDecl *FromShadow : D->shadows()) {
4605 if (Expected<UsingShadowDecl *> ToShadowOrErr = import(FromShadow))
4615 ExpectedDecl ASTNodeImporter::VisitUsingShadowDecl(UsingShadowDecl *D) {
4633 UsingShadowDecl *ToShadow;
4641 if (UsingShadowDecl *FromPattern =
4643 if (Expected<UsingShadowDecl *> ToPatternOrErr = import(FromPattern))
JSONNodeDumper.cpp 759 void JSONNodeDumper::VisitUsingShadowDecl(const UsingShadowDecl *USD) {
TextNodeDumper.cpp 2073 void TextNodeDumper::VisitUsingShadowDecl(const UsingShadowDecl *D) {
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
CodeCompleteConsumer.h 50 class UsingShadowDecl;
853 /// pointer to the UsingShadowDecl which was used in the unshadowing process.
856 const UsingShadowDecl *ShadowDecl = nullptr;
Sema.h 205 class UsingShadowDecl;
5677 void HideUsingShadowDecl(Scope *S, UsingShadowDecl *Shadow);
5680 UsingShadowDecl *&PrevShadow);
5681 UsingShadowDecl *BuildUsingShadowDecl(Scope *S, UsingDecl *UD,
5683 UsingShadowDecl *PrevDecl);
  /src/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
USRLocFinder.cpp 272 if (auto *UsingShadow = llvm::dyn_cast<UsingShadowDecl>(Decl)) {
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaCUDA.cpp 646 if (UsingShadowDecl *Using = dyn_cast<UsingShadowDecl>(D))
SemaModule.cpp 661 if (auto *USD = dyn_cast<UsingShadowDecl>(D)) {
SemaTemplateInstantiateDecl.cpp 3055 // FIXME: UsingShadowDecl doesn't preserve its immediate target, so
3068 UsingShadowDecl *PrevDecl = nullptr;
3072 } else if (UsingShadowDecl *OldPrev =
3074 PrevDecl = cast_or_null<UsingShadowDecl>(SemaRef.FindInstantiatedDecl(
3078 UsingShadowDecl *InstShadow =
3090 Decl *TemplateDeclInstantiator::VisitUsingShadowDecl(UsingShadowDecl *D) {
5620 static bool isInstantiationOf(UsingShadowDecl *Pattern,
5621 UsingShadowDecl *Instance,
5721 if (auto *Shadow = dyn_cast<UsingShadowDecl>(Other))
5722 return isInstantiationOf(cast<UsingShadowDecl>(D), Shadow, Ctx)
    [all...]
SemaOverload.cpp 1003 /// overloaded with. This decl may be a UsingShadowDecl on top of the underlying
1038 if (isa<UsingShadowDecl>(OldD)) {
1045 OldD = cast<UsingShadowDecl>(OldD)->getTargetDecl();
1065 HideUsingShadowDecl(S, cast<UsingShadowDecl>(*I));
3520 if (isa<UsingShadowDecl>(D))
3521 D = cast<UsingShadowDecl>(D)->getTargetDecl();
4624 if (isa<UsingShadowDecl>(D))
4625 D = cast<UsingShadowDecl>(D)->getTargetDecl();
5996 if (isa<UsingShadowDecl>(D))
5997 D = cast<UsingShadowDecl>(D)->getTargetDecl()
    [all...]
SemaLookup.cpp 370 if (Kind == Sema::LookupUsingDeclName && isa<UsingShadowDecl>(D) &&
371 !isa<UsingShadowDecl>(Existing))
3396 if (UsingShadowDecl *USD = dyn_cast<UsingShadowDecl>(D))
3595 if (auto *USD = dyn_cast<UsingShadowDecl>(D))
3734 if (isa<UsingShadowDecl>(ND) && isa<UsingDecl>(D) &&
3735 cast<UsingShadowDecl>(ND)->getUsingDecl() == D)
SemaAccess.cpp 1310 if (UsingShadowDecl *Shadow =
1311 dyn_cast<UsingShadowDecl>(Entity.getTargetDecl())) {
SemaDeclCXX.cpp 9804 if (UsingShadowDecl *shad = dyn_cast<UsingShadowDecl>(*I))
11638 UsingShadowDecl *&PrevShadow) {
11655 // specialization. The UsingShadowDecl in D<T> then points directly
11691 if (isa<UsingShadowDecl>(Target))
11692 Target = cast<UsingShadowDecl>(Target)->getTargetDecl();
11724 if (UsingShadowDecl *Shadow = dyn_cast<UsingShadowDecl>(*I))
11804 UsingShadowDecl *Sema::BuildUsingShadowDecl(Scope *S,
11807 UsingShadowDecl *PrevDecl)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Serialization/
ASTReaderDecl.cpp 393 void VisitUsingShadowDecl(UsingShadowDecl *D);
1647 D->FirstUsingShadow.setPointer(readDeclAs<UsingShadowDecl>());
1663 void ASTDeclReader::VisitUsingShadowDecl(UsingShadowDecl *D) {
1669 auto *Pattern = readDeclAs<UsingShadowDecl>();
3228 if (const auto *USX = dyn_cast<UsingShadowDecl>(X)) {
3229 const auto *USY = cast<UsingShadowDecl>(Y);
3839 D = UsingShadowDecl::CreateDeserialized(Context, ID);
ASTWriterDecl.cpp 117 void VisitUsingShadowDecl(UsingShadowDecl *D);
1289 void ASTDeclWriter::VisitUsingShadowDecl(UsingShadowDecl *D) {
  /src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
ASTMatchers.h 4130 internal::Matcher<UsingShadowDecl>, InnerMatcher) {
4132 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl))
6201 internal::Matcher<UsingShadowDecl>, InnerMatcher) {
6219 AST_MATCHER_P(UsingShadowDecl, hasTargetDecl,

Completed in 141 milliseconds

1 2