diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-07-18 21:18:10 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-07-18 21:18:10 +0000 |
commit | c7082933e6fb33475a13b6081f09a164e6c128e6 (patch) | |
tree | 7255d05709c61cf3df7e4f5726b27b215fdb6192 /clang/lib | |
parent | d6bf03c2725124ab574ab902b1c312e771af31a8 (diff) | |
download | bcm5719-llvm-c7082933e6fb33475a13b6081f09a164e6c128e6.tar.gz bcm5719-llvm-c7082933e6fb33475a13b6081f09a164e6c128e6.zip |
Re-enable 'test/SemaTemplate/temp_class_spec_neg.cpp', after commenting out the cause of the crash.
llvm-svn: 76337
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/AST/Type.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/lib/AST/Type.cpp b/clang/lib/AST/Type.cpp index 23dbce21364..ffcaf42ef92 100644 --- a/clang/lib/AST/Type.cpp +++ b/clang/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); } |