]> granicus.if.org Git - clang/commitdiff
Add a FIXME for something I can't look at just yet
authorDouglas Gregor <dgregor@apple.com>
Sat, 28 Feb 2009 01:09:26 +0000 (01:09 +0000)
committerDouglas Gregor <dgregor@apple.com>
Sat, 28 Feb 2009 01:09:26 +0000 (01:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65669 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaTemplateInstantiate.cpp

index f4653c1e99a81e3fcdcc61e33cb5ae76896bc403..d2e8419d0b78e69c1e8ae748313978a96ed168e5 100644 (file)
@@ -134,6 +134,8 @@ InstantiateConstantArrayType(const ConstantArrayType *T,
   // BuildArrayType. Since we have already checked the size as part of
   // creating the dependent array type in the first place, we know
   // there aren't any errors.
+  // FIXME: Is IntTy big enough? Maybe not, but LongLongTy causes
+  // problems that I have yet to investigate.
   IntegerLiteral ArraySize(T->getSize(), SemaRef.Context.IntTy, Loc);
   return SemaRef.BuildArrayType(ElementType, T->getSizeModifier(), 
                                 &ArraySize, T->getIndexTypeQualifier(),