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

/external/clang/include/clang/Sema/
H A DScope.h24 class UsingDirectiveDecl;
152 typedef SmallVector<UsingDirectiveDecl *, 2> UsingDirectivesTy;
315 void PushUsingDirective(UsingDirectiveDecl *UDir) {
H A DSema.h3573 void PushUsingDirective(Scope *S, UsingDirectiveDecl *UDir);
/external/clang/lib/AST/
H A DDeclCXX.cpp1829 void UsingDirectiveDecl::anchor() { }
1831 UsingDirectiveDecl *UsingDirectiveDecl::Create(ASTContext &C, DeclContext *DC,
1840 return new (C) UsingDirectiveDecl(DC, L, NamespaceLoc, QualifierLoc,
1844 UsingDirectiveDecl *
1845 UsingDirectiveDecl::CreateDeserialized(ASTContext &C, unsigned ID) {
1846 void *Mem = AllocateDeserializedDecl(C, ID, sizeof(UsingDirectiveDecl));
1847 return new (Mem) UsingDirectiveDecl(0, SourceLocation(), SourceLocation(),
1852 NamespaceDecl *UsingDirectiveDecl::getNominatedNamespace() {
H A DDeclBase.cpp1146 if ((D->getIdentifierNamespace() == 0 && !isa<UsingDirectiveDecl>(D)) ||
1482 lookup_const_result Result = lookup(UsingDirectiveDecl::getName());
H A DDeclPrinter.cpp65 void VisitUsingDirectiveDecl(UsingDirectiveDecl *D);
733 void DeclPrinter::VisitUsingDirectiveDecl(UsingDirectiveDecl *D) {
H A DASTDumper.cpp208 void VisitUsingDirectiveDecl(const UsingDirectiveDecl *D);
963 void ASTDumper::VisitUsingDirectiveDecl(const UsingDirectiveDecl *D) {
H A DDecl.cpp1316 // UsingDirectiveDecl's are not really NamedDecl's, and all have same name.
1319 return cast<UsingDirectiveDecl>(this)->getNominatedNamespace()
1321 cast<UsingDirectiveDecl>(OldD)->getNominatedNamespace()
/external/clang/tools/libclang/
H A DCursorVisitor.h234 bool VisitUsingDirectiveDecl(UsingDirectiveDecl *D);
H A DIndexDecl.cpp279 bool VisitUsingDirectiveDecl(const UsingDirectiveDecl *D) {
H A DCIndexUSRs.cpp90 void VisitUsingDirectiveDecl(const UsingDirectiveDecl *D) {
H A DRecursiveASTVisitor.h1346 DEF_TRAVERSE_DECL(UsingDirectiveDecl, {
H A DCIndex.cpp1165 bool CursorVisitor::VisitUsingDirectiveDecl(UsingDirectiveDecl *D) {
3216 if (isa<UsingDirectiveDecl>(D))
4559 return MakeCXCursor(cast<UsingDirectiveDecl>(D)->getNominatedNamespace(),
/external/clang/include/clang/AST/
H A DDeclCXX.h2420 /// \note UsingDirectiveDecl should be Decl not NamedDecl, but we provide
2423 class UsingDirectiveDecl : public NamedDecl { class in namespace:clang
2449 UsingDirectiveDecl(DeclContext *DC, SourceLocation UsingLoc, function in class:clang::UsingDirectiveDecl
2479 return const_cast<UsingDirectiveDecl*>(this)->getNominatedNamespace();
2497 static UsingDirectiveDecl *Create(ASTContext &C, DeclContext *DC,
2504 static UsingDirectiveDecl *CreateDeserialized(ASTContext &C, unsigned ID);
H A DDeclarationName.h35 class UsingDirectiveDecl;
H A DDeclBase.h52 class UsingDirectiveDecl;
1499 typedef UsingDirectiveDecl * const * udir_iterator;
H A DRecursiveASTVisitor.h1428 DEF_TRAVERSE_DECL(UsingDirectiveDecl, {
/external/clang/lib/CodeGen/
H A DCGDebugInfo.h275 void EmitUsingDirective(const UsingDirectiveDecl &UD);
H A DCGDecl.cpp103 DI->EmitUsingDirective(cast<UsingDirectiveDecl>(D));
H A DCGDebugInfo.cpp3134 void CGDebugInfo::EmitUsingDirective(const UsingDirectiveDecl &UD) {
H A DCodeGenModule.cpp2879 DI->EmitUsingDirective(cast<UsingDirectiveDecl>(*D));
/external/clang/lib/Serialization/
H A DASTWriterDecl.cpp56 void VisitUsingDirectiveDecl(UsingDirectiveDecl *D);
933 void ASTDeclWriter::VisitUsingDirectiveDecl(UsingDirectiveDecl *D) {
H A DASTReaderDecl.cpp219 void VisitUsingDirectiveDecl(UsingDirectiveDecl *D);
1101 void ASTDeclReader::VisitUsingDirectiveDecl(UsingDirectiveDecl *D) {
2266 D = UsingDirectiveDecl::CreateDeserialized(Context, ID);
/external/clang/lib/Sema/
H A DSemaLookup.cpp142 void visit(UsingDirectiveDecl *UD, DeclContext *EffectiveDC) {
159 UsingDirectiveDecl *UD = *I;
182 void addUsingDirective(UsingDirectiveDecl *UD, DeclContext *EffectiveDC) {
H A DSemaTemplateInstantiateDecl.cpp2040 Decl *TemplateDeclInstantiator::VisitUsingDirectiveDecl(UsingDirectiveDecl *D) {
2044 UsingDirectiveDecl *Inst
2045 = UsingDirectiveDecl::Create(SemaRef.Context, Owner, D->getLocation(),
H A DSemaDeclCXX.cpp6399 UsingDirectiveDecl* UD
6400 = UsingDirectiveDecl::Create(Context, Parent,
6671 UsingDirectiveDecl *UDir = 0;
6717 UDir = UsingDirectiveDecl::Create(Context, CurContext, UsingLoc, NamespcLoc,
6737 void Sema::PushUsingDirective(Scope *S, UsingDirectiveDecl *UDir) {
6739 // namespace or translation unit scope, add the UsingDirectiveDecl into

Completed in 1335 milliseconds