[clang] 12c8e36 - [Clang][Sema] Use of incorrect __has_feature vs __has_builtin
Guillaume Chatelet via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 18 02:00:23 PDT 2020
Author: Guillaume Chatelet
Date: 2020-06-18T09:00:12Z
New Revision: 12c8e3632edda3bc640867ba326b52b5b2220a57
URL: https://github.com/llvm/llvm-project/commit/12c8e3632edda3bc640867ba326b52b5b2220a57
DIFF: https://github.com/llvm/llvm-project/commit/12c8e3632edda3bc640867ba326b52b5b2220a57.diff
LOG: [Clang][Sema] Use of incorrect __has_feature vs __has_builtin
Added:
Modified:
clang/test/Sema/builtins-memcpy-inline.cpp
Removed:
################################################################################
diff --git a/clang/test/Sema/builtins-memcpy-inline.cpp b/clang/test/Sema/builtins-memcpy-inline.cpp
index 5e03a975a71b..81b11fc021ff 100644
--- a/clang/test/Sema/builtins-memcpy-inline.cpp
+++ b/clang/test/Sema/builtins-memcpy-inline.cpp
@@ -2,7 +2,7 @@
#define NULL ((char *)0)
-#if __has_feature(__builtin_memcpy_inline)
+#if __has_builtin(__builtin_memcpy_inline)
#warning defined as expected
// expected-warning at -1 {{defined as expected}}
#endif
More information about the cfe-commits
mailing list