Skip to content

Conversation

@Przemog1
Copy link
Contributor

@Przemog1 Przemog1 commented Jan 8, 2026

No description provided.

for (const auto& define : preprocessOptions.extraDefines)
context.add_macro_definition(define.identifier.data() + core::string("=") + define.definition.data());
{
const std::string macroDefinition = define.identifier.data() + core::string("=") + define.definition.data();

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we suppose define.definition being a null span ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

define.definition can be an empty string but not a null span

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants