]> granicus.if.org Git - clang/commit
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)
commit2a82ca255b0f99f6201a75ed52b91fc024f6e9cf
tree00f70fe926c9c2aa20b81c9938cb14780e4faffd
parent9d29543284e75648ac89c6e9586fc7cf786cf66f
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168771 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTUnresolvedSet.h [new file with mode: 0644]
include/clang/AST/ASTVector.h
include/clang/AST/DeclCXX.h
include/clang/AST/Expr.h
include/clang/AST/UnresolvedSet.h
include/clang/Serialization/ASTReader.h
include/clang/Serialization/ASTWriter.h
lib/AST/DeclCXX.cpp
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTReaderStmt.cpp
lib/Serialization/ASTWriter.cpp