Add prototype info for __builtin_memcpy, reducing #diagnostics from 37 to 34 on
PR1750
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43435 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/Builtins.cpp b/AST/Builtins.cpp
index 3fb3faf..5a470ff 100644
--- a/AST/Builtins.cpp
+++ b/AST/Builtins.cpp
@@ -130,6 +130,10 @@
else
Type = Context.CharTy;
break;
+ case 'z': // size_t.
+ assert(!Long && !Signed && !Unsigned && "Bad modifiers for 'z'!");
+ Type = Context.getSizeType();
+ break;
case 'F':
Type = Context.getCFConstantStringType();
break;