blob: a75df2ab62ce1a6826d83cdcc25b398a286aa43c [file] [log] [blame]
// Part of the Crubit project, under the Apache License v2.0 with LLVM
// Exceptions. See /LICENSE for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#ifndef CRUBIT_RS_BINDINGS_FROM_CC_IMPORTERS_NAMESPACE_H_
#define CRUBIT_RS_BINDINGS_FROM_CC_IMPORTERS_NAMESPACE_H_
#include "rs_bindings_from_cc/decl_importer.h"
#include "clang/AST/Decl.h"
namespace crubit {
// A `DeclImporter` for `NamespaceDecl`s.
class NamespaceDeclImporter : public DeclImporterBase<clang::NamespaceDecl> {
public:
NamespaceDeclImporter(ImportContext& context) : DeclImporterBase(context) {}
std::optional<IR::Item> Import(clang::NamespaceDecl*);
};
} // namespace crubit
#endif // CRUBIT_RS_BINDINGS_FROM_CC_IMPORTERS_NAMESPACE_H_