Skip to content

Conversation

@kr-2003
Copy link
Owner

@kr-2003 kr-2003 commented Mar 22, 2025

No description provided.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

There were too many comments to post at once. Showing the first 10 out of 41. Check the log or trigger a new build to see more.



#ifndef XEUS_CPP_DEBUGGER_HPP
#define XEUS_CPP_DEBUGGER_HPP

Choose a reason for hiding this comment

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

warning: header guard does not follow preferred style [llvm-header-guard]

Suggested change
#define XEUS_CPP_DEBUGGER_HPP
#ifndef XEUS_CPP_XDEBUGGER_HPP
#define XEUS_CPP_XDEBUGGER_HPP

#define XEUS_CPP_DEBUGGER_HPP

#include <map>
#include <mutex>

Choose a reason for hiding this comment

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

warning: included header map is not used directly [misc-include-cleaner]

Suggested change
#include <mutex>
#include <mutex>


#include <map>
#include <mutex>
#include <set>

Choose a reason for hiding this comment

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

warning: included header mutex is not used directly [misc-include-cleaner]

Suggested change
#include <set>
#include <set>

#include <map>
#include <mutex>
#include <set>

Choose a reason for hiding this comment

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

warning: included header set is not used directly [misc-include-cleaner]

Suggested change

#include <set>

#include "xeus_cpp_config.hpp"
#include <nlohmann/json.hpp>

Choose a reason for hiding this comment

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

warning: #includes are not sorted properly [llvm-include-order]

#include <nlohmann/json.hpp>
^

this fix will not be applied because it overlaps with another fix


#include "xeus_cpp_config.hpp"
#include <nlohmann/json.hpp>
#include "xeus-zmq/xdebugger_base.hpp"

Choose a reason for hiding this comment

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

warning: included header json.hpp is not used directly [misc-include-cleaner]

Suggested change
#include "xeus-zmq/xdebugger_base.hpp"
#include "xeus-zmq/xdebugger_base.hpp"

{
class xllDB_dap_client;

class XEUS_CPP_API debugger : public xeus::xdebugger_base

Choose a reason for hiding this comment

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

warning: class 'debugger' defines a destructor but does not define a copy constructor, a copy assignment operator, a move constructor or a move assignment operator [cppcoreguidelines-special-member-functions]

    class XEUS_CPP_API debugger : public xeus::xdebugger_base 
                       ^

class XEUS_CPP_API debugger : public xeus::xdebugger_base
{
public:
debugger(xeus::xcontext& context, const xeus::xconfiguration& config,

Choose a reason for hiding this comment

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

warning: no header providing "xeus::xconfiguration" is directly included [misc-include-cleaner]

include/xeus-cpp/xdebugger.hpp:19:

- #include "xeus-zmq/xdebugger_base.hpp"
+ #include <xeus/xkernel_configuration.hpp>
+ #include "xeus-zmq/xdebugger_base.hpp"

class XEUS_CPP_API debugger : public xeus::xdebugger_base
{
public:
debugger(xeus::xcontext& context, const xeus::xconfiguration& config,

Choose a reason for hiding this comment

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

warning: no header providing "xeus::xcontext" is directly included [misc-include-cleaner]

include/xeus-cpp/xdebugger.hpp:19:

- #include "xeus-zmq/xdebugger_base.hpp"
+ #include <xeus/xeus_context.hpp>
+ #include "xeus-zmq/xdebugger_base.hpp"

{
public:
debugger(xeus::xcontext& context, const xeus::xconfiguration& config,
const std::string& user_name, const std::string& session_id,

Choose a reason for hiding this comment

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

warning: no header providing "std::string" is directly included [misc-include-cleaner]

include/xeus-cpp/xdebugger.hpp:19:

- #include "xeus-zmq/xdebugger_base.hpp"
+ #include <string>
+ #include "xeus-zmq/xdebugger_base.hpp"

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