Skip to content
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

Fixing component handling for lcos #2856

Merged
merged 3 commits into from Aug 27, 2017
Merged

Fixing component handling for lcos #2856

merged 3 commits into from Aug 27, 2017

Conversation

sithhell
Copy link
Member

This patch fixes a UB where the LCOs using (simple) components where cast to
wrong types.

This patch fixes a UB where the LCOs using (simple) components where cast to
wrong types.
Copy link
Member

@hkaiser hkaiser left a comment

Choose a reason for hiding this comment

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

Otherwise, LGTM, thanks!

protected:
hpx::performance_counters::counter_info info_;
util::atomic_count invocation_count_;
class base_performance_counter
Copy link
Member

Choose a reason for hiding this comment

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

What happened here?

Copy link
Member Author

Choose a reason for hiding this comment

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

This diff are reformating changes introduced by clang-format...

Copy link
Member

Choose a reason for hiding this comment

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

We agreed not to reformat whole files without dire need...

Copy link
Member Author

Choose a reason for hiding this comment

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

I have no problem reverting the formatting changes again. I'm not exactly sure what happened here. I use git clang-format which should only affect the direct changeset (in that case, a forward declaration was removed). The resulting diff is pretty awful...

Thomas Heller added 2 commits August 24, 2017 01:05
 - Moving implementation of a simple component to component(_base)
 - Keeping using simple_component = component and friends for backwards
   compatbility.
Conflicts:
	hpx/runtime/components/server/simple_component_base.hpp
@hkaiser hkaiser merged commit c71da44 into master Aug 27, 2017
@hkaiser hkaiser deleted the fix_ubsan branch August 27, 2017 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants