aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/Type.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-18 21:18:10 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-07-18 21:18:10 +0000
commite7f38406a38f453e83000a1e52a5ec0aada66e51 (patch)
tree2ea242ae57071a008657aed68960aa86aaf717ec /lib/AST/Type.cpp
parentdc50c64c13322dd81b10263cbb023fb1f7eae1fd (diff)
Re-enable 'test/SemaTemplate/temp_class_spec_neg.cpp', after commenting out the cause of the crash.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76337 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/Type.cpp')
-rw-r--r--lib/AST/Type.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/AST/Type.cpp b/lib/AST/Type.cpp
index 23dbce2136..ffcaf42ef9 100644
--- a/lib/AST/Type.cpp
+++ b/lib/AST/Type.cpp
@@ -57,7 +57,9 @@ void VariableArrayType::Destroy(ASTContext& C) {
}
void DependentSizedArrayType::Destroy(ASTContext& C) {
- SizeExpr->Destroy(C);
+ // FIXME: Resource contention like in ConstantArrayWithExprType ?
+ // May crash, depending on platform or a particular build.
+ // SizeExpr->Destroy(C);
this->~DependentSizedArrayType();
C.Deallocate(this);
}