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

Fix windows export symbols #212

Conversation

alexander-penev
Copy link
Collaborator

No description provided.

Copy link
Contributor

@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


/// Gets the namespace or class (by stripping typedefs) for the name
/// passed as a parameter, and if the parent is not passed,
/// then global scope will be assumed.
TCppScope_t GetScope(const std::string &name, TCppScope_t parent = 0);
DllExport TCppScope_t GetScope(const std::string &name, TCppScope_t parent = 0);
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: use nullptr [modernize-use-nullptr]

Suggested change
DllExport TCppScope_t GetScope(const std::string &name, TCppScope_t parent = 0);
DllExport TCppScope_t GetScope(const std::string &name, TCppScope_t parent = nullptr);

Copy link

codecov bot commented Mar 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.74%. Comparing base (468031a) to head (8c0e48b).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #212   +/-   ##
=======================================
  Coverage   78.74%   78.74%           
=======================================
  Files           8        8           
  Lines        3091     3091           
=======================================
  Hits         2434     2434           
  Misses        657      657           
Files Coverage Δ
include/clang/Interpreter/CppInterOp.h 100.00% <ø> (ø)
Files Coverage Δ
include/clang/Interpreter/CppInterOp.h 100.00% <ø> (ø)

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.

1 participant