Home | History | Annotate | Download | only in Expression

Lines Matching refs:decl_ctx

20     clang::DeclContext *decl_ctx = llvm::dyn_cast<clang::DeclContext>(decl);
25 if (decl_ctx)
27 has_external_lexical_storage = decl_ctx->hasExternalLexicalStorage();
28 has_external_visible_storage = decl_ctx->hasExternalVisibleStorage();
29 decl_ctx->setHasExternalLexicalStorage(false);
30 decl_ctx->setHasExternalVisibleStorage(false);
37 if (decl_ctx)
39 decl_ctx->setHasExternalLexicalStorage(has_external_lexical_storage);
40 decl_ctx->setHasExternalVisibleStorage(has_external_visible_storage);
44 ASTDumper::ASTDumper (clang::DeclContext *decl_ctx)
46 bool has_external_lexical_storage = decl_ctx->hasExternalLexicalStorage();
47 bool has_external_visible_storage = decl_ctx->hasExternalVisibleStorage();
49 decl_ctx->setHasExternalLexicalStorage(false);
50 decl_ctx->setHasExternalVisibleStorage(false);
52 if (clang::Decl *decl = llvm::dyn_cast<clang::Decl>(decl_ctx))
63 decl_ctx->setHasExternalLexicalStorage(has_external_lexical_storage);
64 decl_ctx->setHasExternalVisibleStorage(has_external_visible_storage);