Add __builtin_bcopy to the list of GNU builtins. This was causing a series of
test failures in glibc.
Adjust the tests to reflect the changes in codegen.
Fixes #51409.
Fixes #63065.
Paths 
  |  Differential  D158135  
[Clang][CodeGen] Add __builtin_bcopy Needs ReviewPublic Authored by cseo on Aug 16 2023, 5:34 PM. 
Details 
 Summary Add __builtin_bcopy to the list of GNU builtins. This was causing a series of Adjust the tests to reflect the changes in codegen. Fixes #51409. 
Diff Detail 
 Event Timelinecseo retitled this revision from [Clang] Add __builtin_bcopy to [Clang][CodeGen] Add __builtin_bcopy.Aug 17 2023, 10:49 AM Comment Actions FWIW, the pre-merge checks failed due to a problem with git-clang-format, not the tests themselves (they are all green). 
Revision Contents 
 
 
Diff 550941 clang/include/clang/Basic/Builtins.def
 clang/lib/AST/Decl.cpp
 clang/lib/CodeGen/CGBuiltin.cpp
 
 clang/test/Analysis/bstring.c
 clang/test/Analysis/security-syntax-checks.m
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Maybe it is better to do these in order to be consistent with the rest of the code to avoid easy confusion.