Skip to content

Commit

Permalink
Fixup "[analyzer] CStringChecker buffer access checks should check th…
Browse files Browse the repository at this point in the history
…e first bytes"

0954dc3 broke a build bot:
https://lab.llvm.org/buildbot/#/builders/245/builds/13891

  clang/test/Analysis/string.c
  Line 74: incompatible redeclaration of library function 'memcpy'
  Line 74: 'memcpy' is a builtin with type 'void *(void *, const void *, unsigned int)'

Differential Revision: https://reviews.llvm.org/D159109
  • Loading branch information
steakhal committed Sep 11, 2023
1 parent 5b96fcb commit 706afc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/test/Analysis/string.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void clang_analyzer_eval(int);
int scanf(const char *restrict format, ...);
void *malloc(size_t);
void free(void *);
void *memcpy(void *dest, const void *src, unsigned long n);
void *memcpy(void *dest, const void *src, size_t n);

//===----------------------------------------------------------------------===
// strlen()
Expand Down

0 comments on commit 706afc9

Please sign in to comment.