aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaTemplateInstantiate.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-02-28 01:09:26 +0000
committerDouglas Gregor <dgregor@apple.com>2009-02-28 01:09:26 +0000
commitaca13a7df407b32a6ee497a0646f83184edefb49 (patch)
treeadf806d457fa2fe53053b7d7684f7738e4f45550 /lib/Sema/SemaTemplateInstantiate.cpp
parent724651c3523e25fbf2f6cd0419bc3466e0afdb07 (diff)
Add a FIXME for something I can't look at just yet
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65669 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaTemplateInstantiate.cpp')
-rw-r--r--lib/Sema/SemaTemplateInstantiate.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Sema/SemaTemplateInstantiate.cpp b/lib/Sema/SemaTemplateInstantiate.cpp
index f4653c1e99..d2e8419d0b 100644
--- a/lib/Sema/SemaTemplateInstantiate.cpp
+++ b/lib/Sema/SemaTemplateInstantiate.cpp
@@ -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(),