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 logic for resource dir flag #168

Closed
wants to merge 5 commits into from
Closed

Conversation

anutosh491
Copy link
Collaborator

The logic for the resource dir flag looks corrupt.

I am guessing we need to check if the flag is available, if not we need CppInterOp to fetch it for us. If flag is found add the arguments else return error.

@codecov-commenter
Copy link

codecov-commenter commented Nov 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.76%. Comparing base (3df7988) to head (79945ae).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #168      +/-   ##
==========================================
+ Coverage   80.14%   80.76%   +0.61%     
==========================================
  Files          19       19              
  Lines         972      972              
  Branches       93       93              
==========================================
+ Hits          779      785       +6     
+ Misses        193      187       -6     
Files with missing lines Coverage Δ
src/xinterpreter.cpp 91.30% <100.00%> (+3.26%) ⬆️
Files with missing lines Coverage Δ
src/xinterpreter.cpp 91.30% <100.00%> (+3.26%) ⬆️

src/xinterpreter.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

github-actions bot commented Nov 5, 2024

clang-tidy review says "All clean, LGTM! 👍"

std::cerr << "Failed to detect the resource-dir\n";
}
ClangArgs.push_back("-resource-dir");
ClangArgs.push_back(resource_dir.c_str());
Copy link
Contributor

Choose a reason for hiding this comment

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

Please make this patch one line as it should be.

Copy link
Contributor

github-actions bot commented Nov 5, 2024

clang-tidy review says "All clean, LGTM! 👍"

@anutosh491
Copy link
Collaborator Author

Closing as completed in #169

@anutosh491 anutosh491 closed this Nov 5, 2024
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