Searched refs:UsingDecl (Results 1 - 25 of 31) sorted by relevance

12

/external/clang/test/Modules/
H A Dusing-decl.cpp7 UsingDecl::using_decl_type x = UsingDecl::using_decl_var;
8 UsingDecl::inner y = x;
/external/clang/test/Modules/Inputs/
H A Dusing-decl-b.h1 namespace UsingDecl { namespace
8 namespace UsingDecl { namespace
H A Dusing-decl-a.h4 namespace UsingDecl { namespace
/external/clang/unittests/AST/
H A DSourceLocationTest.cpp246 TEST(UsingDecl, SourceRange) {
247 RangeVerifier<UsingDecl> Verifier;
/external/clang/lib/AST/
H A DDeclCXX.cpp2002 UsingDecl *UsingShadowDecl::getUsingDecl() const {
2007 return cast<UsingDecl>(Shadow->UsingOrNextShadow);
2010 void UsingDecl::anchor() { }
2012 void UsingDecl::addShadowDecl(UsingShadowDecl *S) {
2022 void UsingDecl::removeShadowDecl(UsingShadowDecl *S) {
2043 UsingDecl *UsingDecl::Create(ASTContext &C, DeclContext *DC, SourceLocation UL,
2047 return new (C, DC) UsingDecl(DC, UL, QualifierLoc, NameInfo, HasTypename);
2050 UsingDecl *UsingDecl
[all...]
H A DDeclPrinter.cpp83 void VisitUsingDecl(UsingDecl *D);
1158 void DeclPrinter::VisitUsingDecl(UsingDecl *D) {
H A DASTDumper.cpp280 void VisitUsingDecl(const UsingDecl *D);
1233 void ASTDumper::VisitUsingDecl(const UsingDecl *D) {
H A DDecl.cpp1460 if (isa<UsingDecl>(this) && isa<UsingDecl>(OldD)) {
1463 cast<UsingDecl>(this)->getQualifier()) ==
1465 cast<UsingDecl>(OldD)->getQualifier());
H A DASTContext.cpp1138 ASTContext::getInstantiatedFromUsingDecl(UsingDecl *UUD) {
1139 llvm::DenseMap<UsingDecl *, NamedDecl *>::const_iterator Pos
1148 ASTContext::setInstantiatedFromUsingDecl(UsingDecl *Inst, NamedDecl *Pattern) {
1149 assert((isa<UsingDecl>(Pattern) ||
/external/clang/include/clang/AST/
H A DDeclCXX.h44 class UsingDecl;
2731 /// using A::foo; // <- a UsingDecl
2744 friend class UsingDecl;
2747 UsingDecl *Using, NamedDecl *Target)
2771 SourceLocation Loc, UsingDecl *Using,
2806 UsingDecl *getUsingDecl() const;
2827 class UsingDecl : public NamedDecl { class in namespace:clang
2847 UsingDecl(DeclContext *DC, SourceLocation UL, function in class:clang::UsingDecl
2941 static UsingDecl *Create(ASTContext &C, DeclContext *DC,
2947 static UsingDecl *CreateDeserialize
[all...]
H A DASTContext.h67 class UsingDecl;
320 /// \brief Keeps track of the declaration from which a UsingDecl was
323 /// The source declaration is always a UsingDecl, an UnresolvedUsingValueDecl,
341 /// This mapping will contain an entry that maps from the UsingDecl in
343 llvm::DenseMap<UsingDecl *, NamedDecl *> InstantiatedFromUsingDecl;
706 NamedDecl *getInstantiatedFromUsingDecl(UsingDecl *Inst);
710 void setInstantiatedFromUsingDecl(UsingDecl *Inst, NamedDecl *Pattern);
H A DDataRecursiveASTVisitor.h1338 DEF_TRAVERSE_DECL(UsingDecl, {
/external/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp2124 Decl *TemplateDeclInstantiator::VisitUsingDecl(UsingDecl *D) {
2152 UsingDecl *NewUD = UsingDecl::Create(SemaRef.Context, Owner,
2222 // Ignore these; we handle them in bulk when processing the UsingDecl.
2246 SemaRef.Context.setInstantiatedFromUsingDecl(cast<UsingDecl>(UD), D);
2270 SemaRef.Context.setInstantiatedFromUsingDecl(cast<UsingDecl>(UD), D);
4240 static bool isInstantiationOf(UsingDecl *Pattern,
4241 UsingDecl *Instance,
4247 UsingDecl *Instance,
4253 UsingDecl *Instanc
[all...]
H A DTreeTransform.h8197 if (isa<UsingDecl>(InstD)) {
8198 UsingDecl *UD = cast<UsingDecl>(InstD);
9083 if (isa<UsingDecl>(InstD)) {
9084 UsingDecl *UD = cast<UsingDecl>(InstD);
9931 if (isa<UsingDecl>(D)) {
9932 UsingDecl *Using = cast<UsingDecl>(D);
H A DSemaDeclCXX.cpp7264 bool Sema::CheckUsingShadowDecl(UsingDecl *Using, NamedDecl *Orig,
7394 UsingDecl *UD,
7642 UsingDecl *UD =
7643 UsingDecl::Create(Context, CurContext, UsingLoc, QualifierLoc, NameInfo,
7658 UsingDecl *UD = BuildValid();
7715 UsingDecl *UD = BuildValid();
7761 UsingDecl *UD = BuildValid();
7772 bool Sema::CheckInheritingConstructorUsingDecl(UsingDecl *UD) {
7824 if (UsingDecl *UD = dyn_cast<UsingDecl>(
[all...]
/external/clang/tools/libclang/
H A DCursorVisitor.h235 bool VisitUsingDecl(UsingDecl *D);
H A DIndexDecl.cpp256 bool VisitUsingDecl(const UsingDecl *D) {
H A DCIndex.cpp1151 bool CursorVisitor::VisitUsingDecl(UsingDecl *D) {
4595 if (const UsingDecl *Using = dyn_cast<UsingDecl>(D))
4822 return MakeCursorOverloadedDeclRef(cast<UsingDecl>(D),
4945 if (const UsingDecl *Using = dyn_cast<UsingDecl>(D))
4968 if (const UsingDecl *Using = dyn_cast<UsingDecl>(D)) {
4970 UsingDecl::shadow_iterator Pos = Using->shadow_begin();
/external/clang/lib/CodeGen/
H A DCGDebugInfo.h39 class UsingDecl;
283 void EmitUsingDecl(const UsingDecl &UD);
H A DCGDecl.cpp100 DI->EmitUsingDecl(cast<UsingDecl>(D));
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h715 const internal::VariadicDynCastAllOfMatcher<Decl, UsingDecl> usingDecl;
2036 if (const UsingShadowDecl *UsingDecl = dyn_cast<UsingShadowDecl>(FoundDecl))
2037 return InnerMatcher.matches(*UsingDecl, Finder, Builder);
2890 AST_MATCHER_P(UsingDecl, hasAnyUsingShadowDecl,
/external/clang/lib/Index/
H A DUSRGeneration.cpp99 void VisitUsingDecl(const UsingDecl *D) {
/external/clang/lib/Serialization/
H A DASTWriterDecl.cpp100 void VisitUsingDecl(UsingDecl *D);
941 void ASTDeclWriter::VisitUsingDecl(UsingDecl *D) {
H A DASTReaderDecl.cpp288 void VisitUsingDecl(UsingDecl *D);
1161 void ASTDeclReader::VisitUsingDecl(UsingDecl *D) {
2649 D = UsingDecl::CreateDeserialized(Context, ID);
/external/clang/include/clang/Sema/
H A DSema.h177 class UsingDecl;
3808 bool CheckUsingShadowDecl(UsingDecl *UD, NamedDecl *Target,
3811 UsingShadowDecl *BuildUsingShadowDecl(Scope *S, UsingDecl *UD,
3834 bool CheckInheritingConstructorUsingDecl(UsingDecl *UD);

Completed in 695 milliseconds

12