LibRegex: Annotate classes with export macro for hidden visibility

This fix demos the gradual opt-in migration process libraries can
take to switch to explicit symbol exports via the FOO_API macros.
This commit is contained in:
ayeteadoe 2025-05-09 18:35:19 -07:00 committed by Andrew Kaster
commit a3754a7bf1
Notes: github-actions[bot] 2025-05-12 09:23:32 +00:00
6 changed files with 15 additions and 13 deletions

View file

@ -9,6 +9,7 @@
#include <AK/Forward.h>
#include <AK/GenericLexer.h>
#include <AK/StringView.h>
#include <LibRegex/Forward.h>
namespace regex {
@ -64,7 +65,7 @@ private:
StringView m_value {};
};
class Lexer : public GenericLexer {
class REGEX_API Lexer : public GenericLexer {
public:
Lexer();
explicit Lexer(StringView source);