Does libclang support the C++20 export keyword?
michaelpauljohnson opened this issue · 1 comments
michaelpauljohnson commented
Given Foo.cpp
export module Foo;
export void foo(int)
{
};
I get
Kind UnexposedDecl Spelling
Kind UnexposedDecl Spelling
when visitChildren is used on the TU.
Given Bar.cpp
export module Bar;
export import :PartA;
export import :PartB;
I get
Kind UnexposedDecl Spelling
Kind ModuleImport Spelling Bar:PartA
Kind ModuleImport Spelling Bar:PartB
when visitChildren is used on the TU i.e. there is some C++20 module support.
michaelpauljohnson commented
Apologies - I posted this to the wrong group.