[cfe-commits] r109381 - in /cfe/trunk: include/clang/AST/Type.h lib/AST/Type.cpp
Douglas Gregor
dgregor at apple.com
Sun Jul 25 11:39:40 PDT 2010
Author: dgregor
Date: Sun Jul 25 13:39:40 2010
New Revision: 109381
URL: http://llvm.org/viewvc/llvm-project?rev=109381&view=rev
Log:
Move Type destructor out-of-line
Modified:
cfe/trunk/include/clang/AST/Type.h
cfe/trunk/lib/AST/Type.cpp
Modified: cfe/trunk/include/clang/AST/Type.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Type.h?rev=109381&r1=109380&r2=109381&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Type.h (original)
+++ cfe/trunk/include/clang/AST/Type.h Sun Jul 25 13:39:40 2010
@@ -807,7 +807,7 @@
: CanonicalType(Canonical.isNull() ? QualType(this_(), 0) : Canonical),
TC(tc), Dependent(dependent), LinkageKnown(false),
CachedLinkage(NoLinkage), FromPCH(false) {}
- virtual ~Type() {}
+ virtual ~Type();
friend class ASTContext;
public:
Modified: cfe/trunk/lib/AST/Type.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Type.cpp?rev=109381&r1=109380&r2=109381&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Type.cpp (original)
+++ cfe/trunk/lib/AST/Type.cpp Sun Jul 25 13:39:40 2010
@@ -33,6 +33,8 @@
return false;
}
+Type::~Type() { }
+
void DependentSizedArrayType::Profile(llvm::FoldingSetNodeID &ID,
ASTContext &Context,
QualType ET,
More information about the cfe-commits
mailing list