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

Add clang-tidy identifier naming rules #87

Merged
merged 4 commits into from
Mar 24, 2020
Merged

Conversation

marcomagdy
Copy link
Contributor

Add clang-tidy rules to enforce naming style/conventions

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@marcomagdy marcomagdy requested review from a team and bmoffatt March 22, 2020 04:34
src/runtime.cpp Outdated
@@ -72,7 +72,7 @@ static size_t write_data(char* ptr, size_t size, size_t nmemb, void* userdata)
// std::isspace has a few edge cases that would trigger UB. In particular, the documentation says:
// "The behavior is undefined if the value of the input is not representable as unsigned char and is not equal to EOF."
// So, this function does the simple obvious thing instead.
static inline bool IsSpace(int ch)
static inline bool is_whiltespace(int ch)
Copy link
Collaborator

Choose a reason for hiding this comment

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

typo?

@marcomagdy marcomagdy merged commit a4b8f45 into master Mar 24, 2020
@marcomagdy marcomagdy deleted the clang-tidy-naming-style branch March 24, 2020 17:14
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