Skip to content

Conversation

@Poppeldipop
Copy link
Collaborator

I have addressed some Clang-tidy warnings

  • Header Guards changed to preferred style
  • Correct include order
  • Some variables could be set to auto or const auto
  • Some functions set as override instead of virtual

Copy link
Member

@fabianbs96 fabianbs96 left a comment

Choose a reason for hiding this comment

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

Looks good to me, except minor; thanks!

Comment on lines 4 to 9
#ifndef PHASAR_UTILS_MEMORYRESOURCE_H
#if !defined(__has_include) || __has_include(<memory_resource>)
#define HAS_MEMORY_RESOURCE 1
#define PHASAR_UTILS_MEMORYRESOURCE_H 1
#include <memory_resource>
#else
#define HAS_MEMORY_RESOURCE 0
#define PHASAR_UTILS_MEMORYRESOURCE_H 0
Copy link
Member

Choose a reason for hiding this comment

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

This is no include guard. Please revert

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done

@fabianbs96 fabianbs96 merged commit 349656f into development Jul 6, 2023
@fabianbs96 fabianbs96 deleted the f-ClangTidyCompliance branch July 6, 2023 18:11
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