[cfe-commits] r39887 - /cfe/trunk/AST/ASTContext.cpp

Chris Lattner sabre at nondot.org
Sun Jul 15 16:46:54 PDT 2007


Author: lattner
Date: Sun Jul 15 18:46:53 2007
New Revision: 39887

URL: http://llvm.org/viewvc/llvm-project?rev=39887&view=rev
Log:
don't let builtin-type handling code fall into pointer handling code
not all builtin types have size and alignment equal to pointers :)

Modified:
    cfe/trunk/AST/ASTContext.cpp

Modified: cfe/trunk/AST/ASTContext.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/AST/ASTContext.cpp?rev=39887&r1=39886&r2=39887&view=diff

==============================================================================
--- cfe/trunk/AST/ASTContext.cpp (original)
+++ cfe/trunk/AST/ASTContext.cpp Sun Jul 15 18:46:53 2007
@@ -180,6 +180,7 @@
     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:





More information about the cfe-commits mailing list