#pragma once #include "cxx-clang-auto/cxx/include/cxx-clang-auto.hxx" #include "clang/AST/Decl.h" namespace cxx_clang::clang::ast::decl::namespace_decl { CXX_AUTO_PRELUDE(NamespaceDecl, ::clang::NamespaceDecl) } // namespace cxx_clang::clang::ast::decl::namespace_decl namespace cxx_clang::clang::ast::decl::namespace_decl { [[nodiscard]] [[gnu::always_inline]] static inline auto as_ref_named_decl(Self const& This [[clang::lifetimebound]]) -> ::clang::NamedDecl const& { return This; } [[nodiscard]] [[gnu::always_inline]] static inline auto as_pin_named_decl(Self& This [[clang::lifetimebound]]) -> ::clang::NamedDecl& { return This; } [[nodiscard]] [[gnu::always_inline]] static inline auto as_ref_decl_context(Self const& This [[clang::lifetimebound]]) -> ::clang::DeclContext const& { return This; } [[nodiscard]] [[gnu::always_inline]] static inline auto as_pin_decl_context(Self& This [[clang::lifetimebound]]) -> ::clang::DeclContext& { return This; } } // namespace cxx_clang::clang::ast::decl::namespace_decl