Commit Graph

2 Commits

Author SHA1 Message Date
Guillaume Chatelet 12c8e3632e [Clang][Sema] Use of incorrect __has_feature vs __has_builtin 2020-06-18 09:00:12 +00:00
Guillaume Chatelet d260a10d98 [clang] Fix crash during template sema checking
Summary: If the size parameter of `__builtin_memcpy_inline` comes from an un-instantiated template parameter current code would crash.

Reviewers: efriedma, courbet

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D76504
2020-03-21 12:42:06 +01:00