Skip to content

Commit

Permalink
[TLI] fix a function's (commented) signature; NFC
Browse files Browse the repository at this point in the history
__strlen_chk returns a `size_t`, not a `char *`.
  • Loading branch information
gburgessiv committed Apr 7, 2020
1 parent aa26dd9 commit ff30d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/include/llvm/Analysis/TargetLibraryInfo.def
Expand Up @@ -434,7 +434,7 @@ TLI_DEFINE_STRING_INTERNAL("__strlcat_chk")
/// size_t dstsize);
TLI_DEFINE_ENUM_INTERNAL(strlcpy_chk)
TLI_DEFINE_STRING_INTERNAL("__strlcpy_chk")
/// char *__strlen_chk(const char *s1, size_t s1size);
/// size_t __strlen_chk(const char *s1, size_t s1size);
TLI_DEFINE_ENUM_INTERNAL(strlen_chk)
TLI_DEFINE_STRING_INTERNAL("__strlen_chk")
/// char *strncat_chk(char *s1, const char *s2, size_t n, size_t s1size);
Expand Down

0 comments on commit ff30d01

Please sign in to comment.