Introduce ASTUnresolvedSet, an UnresolvedSet-like class, whose contents are
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 28 Nov 2012 03:56:16 +0000 (03:56 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Wed, 28 Nov 2012 03:56:16 +0000 (03:56 +0000)
commit0f05fb9cbaff98caa4230090ecbaa06a7e730feb
tree05aa064e78a568e40540a3441242ce5ab1d2caab
parenta6567c4102594f5c1680ff6f994f38270afa2a1e
Introduce ASTUnresolvedSet, an UnresolvedSet-like class, whose contents are
allocated using the allocator associated with an ASTContext.

Use this inside CXXRecordDecl::DefinitionData instead of an UnresolvedSet to
avoid a potential memory leak.

rdar://12761275

llvm-svn: 168771
clang/include/clang/AST/ASTUnresolvedSet.h [new file with mode: 0644]
clang/include/clang/AST/ASTVector.h
clang/include/clang/AST/DeclCXX.h
clang/include/clang/AST/Expr.h
clang/include/clang/AST/UnresolvedSet.h
clang/include/clang/Serialization/ASTReader.h
clang/include/clang/Serialization/ASTWriter.h
clang/lib/AST/DeclCXX.cpp
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTReaderStmt.cpp
clang/lib/Serialization/ASTWriter.cpp