summaryrefslogtreecommitdiffstats
path: root/clang/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
commit0ab407d57dd5718a6d08145492573c580059343d (patch)
tree3742923f54880c9db2b436a7d76ee4ce783eeffb /clang/lib/Sema/SemaTemplateInstantiate.cpp
parent6eaaf30968b286568b96847a083171406986cb0c (diff)
downloadbcm5719-llvm-0ab407d57dd5718a6d08145492573c580059343d.tar.gz
bcm5719-llvm-0ab407d57dd5718a6d08145492573c580059343d.zip
Add a FIXME for something I can't look at just yet
llvm-svn: 65669
Diffstat (limited to 'clang/lib/Sema/SemaTemplateInstantiate.cpp')
-rw-r--r--clang/lib/Sema/SemaTemplateInstantiate.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaTemplateInstantiate.cpp b/clang/lib/Sema/SemaTemplateInstantiate.cpp
index f4653c1e99a..d2e8419d0b7 100644
--- a/clang/lib/Sema/SemaTemplateInstantiate.cpp
+++ b/clang/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(),
OpenPOWER on IntegriCloud