From 48f84b85b7a614cc02c26bf734e6c6ae7cedd341 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 15 Jul 2007 23:46:53 +0000 Subject: [PATCH] don't let builtin-type handling code fall into pointer handling code not all builtin types have size and alignment equal to pointers :) llvm-svn: 39887 --- clang/AST/ASTContext.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/AST/ASTContext.cpp b/clang/AST/ASTContext.cpp index d62bf94298df..6e6849f0b240 100644 --- a/clang/AST/ASTContext.cpp +++ b/clang/AST/ASTContext.cpp @@ -180,6 +180,7 @@ ASTContext::getTypeInfo(QualType T, SourceLocation L) { case BuiltinType::Double: Target.getDoubleInfo(Size, Align, L); break; case BuiltinType::LongDouble: Target.getLongDoubleInfo(Size, Align,L);break; } + break; } case Type::Pointer: Target.getPointerInfo(Size, Align, L); break; case Type::Reference: