Skip to content

Conversation

@kparzysz-quic
Copy link
Contributor

Strlen is not constexpr everywhere, so replace it with sizeof. In C++ sizeof("string") works fine, since "string" has type "const char [...]".

Strlen is not constexpr everywhere, so replace it with sizeof.
In C++ sizeof("string") works fine, since "string" has type
"const char [...]".
@masahi masahi merged commit 07ad977 into apache:main Feb 25, 2022
@kparzysz-quic kparzysz-quic deleted the hexagon-sizeof branch February 25, 2022 20:54
pfk-beta pushed a commit to pfk-beta/tvm that referenced this pull request Apr 11, 2022
…he#10381)

Strlen is not constexpr everywhere, so replace it with sizeof.
In C++ sizeof("string") works fine, since "string" has type
"const char [...]".
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