Skip to content

Commit

Permalink
missing 'export'-s in module interface units (continuation of d339719)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyG committed Feb 15, 2024
1 parent 8d1587b commit cb4d1dd
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions lib/reflifc/src/TupleView.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ export module reflifc:TupleView;

import ifc;

namespace reflifc
export namespace reflifc
{
export template<typename Traits>
template<typename Traits>
struct TupleView : std::ranges::view_interface<TupleView<Traits>>
{
using Index = typename Traits::Index;
Expand Down Expand Up @@ -79,9 +79,9 @@ namespace reflifc
ifc::File const* ifc_;
};

export struct Expression;
export struct Syntax;
export struct Type;
struct Expression;
struct Syntax;
struct Type;

struct TupleExpressionTraits
{
Expand Down
4 changes: 2 additions & 2 deletions lib/reflifc/src/decl/Function.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import ifc;
export import ifc.CallingConvention;
export import ifc.NoexceptSpecification;

namespace reflifc
export namespace reflifc
{
struct Declaration;
struct Name;
Expand All @@ -17,7 +17,7 @@ namespace reflifc
struct MethodType;
struct TupleTypeView;

export struct Function
struct Function
{
Function(ifc::File const* ifc, ifc::FunctionDeclaration const& func)
: ifc_(ifc)
Expand Down
2 changes: 1 addition & 1 deletion lib/reflifc/src/decl/Specialization.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import :TupleView;

import ifc;

namespace reflifc
export namespace reflifc
{
struct Chart;
struct Declaration;
Expand Down
2 changes: 1 addition & 1 deletion lib/reflifc/src/expr/RequiresExpression.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export module reflifc:RequiresExpression;

import ifc;

namespace reflifc
export namespace reflifc
{
struct RequiresExpression
{
Expand Down
2 changes: 1 addition & 1 deletion lib/reflifc/src/expr/Sizeof.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import :Type;

import ifc;

namespace reflifc
export namespace reflifc
{
struct SizeofExpression
{
Expand Down
4 changes: 2 additions & 2 deletions lib/reflifc/src/type/FunctionType.ixx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import :TupleView;

import ifc;

namespace reflifc
export namespace reflifc
{
export struct FunctionType
struct FunctionType
{
FunctionType(ifc::File const* ifc, ifc::FunctionType const& function)
: ifc_(ifc)
Expand Down

0 comments on commit cb4d1dd

Please sign in to comment.