]> granicus.if.org Git - clang/commit
[Builtins] Treat `bcmp` as a builtin.
authorClement Courbet <courbet@google.com>
Thu, 14 Feb 2019 12:00:34 +0000 (12:00 +0000)
committerClement Courbet <courbet@google.com>
Thu, 14 Feb 2019 12:00:34 +0000 (12:00 +0000)
commit8cdd2381793911f203f4d2cbdb54b257673cd585
tree1feaf6a00304235bee71cc95cf9b9eef034377b3
parent5773155aa1b1e219b140ecdb61f207581211edbf
[Builtins] Treat `bcmp` as a builtin.

Summary:
This makes it consistent with `memcmp` and `__builtin_bcmp`.

Also see the discussion in https://reviews.llvm.org/D56593.

Reviewers: jyknight

Subscribers: kristina, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D58120

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@354023 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Builtins.def
lib/AST/Decl.cpp
lib/AST/ExprConstant.cpp
lib/Sema/SemaChecking.cpp
test/Analysis/bstring.c
test/Analysis/security-syntax-checks.m
test/SemaCXX/constexpr-string.cpp
test/SemaCXX/warn-bad-memaccess.cpp