Skip to content

Conversation

@matlupi
Copy link

@matlupi matlupi commented Aug 22, 2025

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Aug 22, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@hzeller
Copy link
Collaborator

hzeller commented Aug 27, 2025

Currently, this does not compile; are you still working on it ?

const auto token = identifier_leaf->get();
const auto direction =
direction_leaf ? direction_leaf->get().text() : implicit_direction;
std::string direction;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why not std::string_view ? The texts you assign are guaranteed to exist for the lifetime, and you also save std::string conversion.

@matlupi
Copy link
Author

matlupi commented Aug 27, 2025

Currently, this does not compile; are you still working on it ?

Yes, but help is definitely needed

@hzeller
Copy link
Collaborator

hzeller commented Aug 27, 2025

For the compile error, looks like you need to fully qualify the name in line 117: verible::SymbolKind::kLeaf

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.

2 participants