mirror of
https://github.com/pybind/pybind11.git
synced 2025-02-03 08:40:28 +00:00
clang-tidy compatibility
This commit is contained in:
parent
2cafdab279
commit
f6ae40bd07
@ -114,7 +114,7 @@ struct handle_type_name<typing::Callable<Return(Args...)>> {
|
||||
};
|
||||
|
||||
inline bool cpp_name_needs_typing_annotated(const char *cpp_name) {
|
||||
while (*cpp_name) {
|
||||
while (*cpp_name != '\0') {
|
||||
char c = *cpp_name++;
|
||||
if (c == ':' || c == '<') { // Assuming valid names, there is no need to check for '>'.
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user