Skip to content

[2/3] Refactor SourceReferenceFormatter (split-out data extraction & make use of new SourceLocation knowledge) #5554

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 6, 2018

Conversation

christianparpart
Copy link
Member

@christianparpart christianparpart commented Nov 30, 2018

this PR is rebased on top of #5537.

That means: only the very last commit belongs to this PR (all prior belong to #5537).

@codecov

This comment has been minimized.

@christianparpart christianparpart force-pushed the cp-SourceReferenceFormatter-refactor branch from 93078a4 to 4b1b9e9 Compare November 30, 2018 19:18
@christianparpart christianparpart changed the title Refactor SourceReferenceFormatter (split-out data extraction & make use of new SourceLocation knowledge) [2/3] Refactor SourceReferenceFormatter (split-out data extraction & make use of new SourceLocation knowledge) Nov 30, 2018
@christianparpart christianparpart force-pushed the cp-SourceReferenceFormatter-refactor branch from 4b1b9e9 to fcb6dc3 Compare November 30, 2018 23:21
@christianparpart christianparpart force-pushed the cp-SourceReferenceFormatter-refactor branch from fcb6dc3 to 2cca0be Compare December 5, 2018 11:41
m_stream << info.first << endl;
printSourceLocation(&info.second);
}
m_stream << endl;
Copy link
Contributor

Choose a reason for hiding this comment

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

Was this removed?

Copy link
Contributor

Choose a reason for hiding this comment

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

I still don't understand the change in adding endl here, but it seems to be correct.

Copy link
Contributor

@chriseth chriseth left a comment

Choose a reason for hiding this comment

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

Only some small changes.

…al and making use of new SourceLocation's CharStream knowledge
@chriseth chriseth force-pushed the cp-SourceReferenceFormatter-refactor branch from 2cca0be to 073b03d Compare December 6, 2018 13:01
@chriseth chriseth merged commit 0e88410 into develop Dec 6, 2018
@axic axic deleted the cp-SourceReferenceFormatter-refactor branch December 6, 2018 13:04
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