diff options
author | Douglas Gregor <dgregor@apple.com> | 2008-12-10 20:57:37 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2008-12-10 20:57:37 +0000 |
commit | 872ffce2578cec519a1220e99f17e33c9515da2c (patch) | |
tree | 6afdc0cdd51567136672b65781c9362a8fd71ae6 /clang/lib/AST | |
parent | 13ac125edf4c57bc08cf861efb8fce243ac3388d (diff) | |
download | bcm5719-llvm-872ffce2578cec519a1220e99f17e33c9515da2c.tar.gz bcm5719-llvm-872ffce2578cec519a1220e99f17e33c9515da2c.zip |
Some cleanups to the dependent-types commit, as suggested by Sebastian
llvm-svn: 60848
Diffstat (limited to 'clang/lib/AST')
-rw-r--r-- | clang/lib/AST/ASTContext.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index 241dce6c95a..233a661a4c9 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/lib/AST/ASTContext.cpp @@ -1210,7 +1210,6 @@ QualType ASTContext::getCanonicalType(QualType T) { DSAT->getSizeModifier(), DSAT->getIndexTypeQualifier()); - // FIXME: What is the ownership of size expressions in VLAs? VariableArrayType *VAT = cast<VariableArrayType>(AT); return getVariableArrayType(NewEltTy, VAT->getSizeExpr(), VAT->getSizeModifier(), @@ -1283,8 +1282,6 @@ const ArrayType *ASTContext::getAsArrayType(QualType T) { IAT->getSizeModifier(), IAT->getIndexTypeQualifier())); - // FIXME: What is the ownership of size expressions in - // dependent-sized array types? if (const DependentSizedArrayType *DSAT = dyn_cast<DependentSizedArrayType>(ATy)) return cast<ArrayType>( @@ -1293,7 +1290,6 @@ const ArrayType *ASTContext::getAsArrayType(QualType T) { DSAT->getSizeModifier(), DSAT->getIndexTypeQualifier())); - // FIXME: What is the ownership of size expressions in VLAs? const VariableArrayType *VAT = cast<VariableArrayType>(ATy); return cast<ArrayType>(getVariableArrayType(NewEltTy, VAT->getSizeExpr(), VAT->getSizeModifier(), |