Skip to content

Conversation

@swasti16
Copy link
Contributor

@swasti16 swasti16 commented Dec 9, 2025

No description provided.

@swasti16 swasti16 force-pushed the swasti/14319_orignalName branch from bb47e06 to bc5ae72 Compare December 11, 2025 01:39
@sonarqubecloud
Copy link

continue;
const Token* t = tok->next();
std::string existing_data_type;
while (t && t->str() != ts.name()) {
Copy link
Owner

Choose a reason for hiding this comment

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

I don't understand this. why are the type tokens interesting. we are interesting in the typedef name aren't we?

ASSERT_EQUALS_MSG(false, true, "Validation of Tokenizer failed");
}
const Token* token = Token::findsimplematch(tokenizer.list.front(), "short");
ASSERT_EQUALS("uint16", token->originalName());
Copy link
Owner

@danmar danmar Dec 11, 2025

Choose a reason for hiding this comment

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

As far as I remember we want that the original name for the "A" token to be A

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