Generate code for va_start and va_end.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42939 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/Builtins.cpp b/AST/Builtins.cpp
index 219f00c..3fb3faf 100644
--- a/AST/Builtins.cpp
+++ b/AST/Builtins.cpp
@@ -135,6 +135,7 @@
break;
case 'V':
Type = Context.getBuiltinVaListType();
+ assert(!Type.isNull() && "builtin va list type not initialized!");
break;
}
@@ -145,6 +146,9 @@
case '*':
Type = Context.getPointerType(Type);
break;
+ case '&':
+ Type = Context.getReferenceType(Type);
+ break;
case 'C':
Type = Type.getQualifiedType(QualType::Const);
break;