Remove the vast majority of the Destroy methods from the AST library,
since we aren't going to be calling them ever. llvm-svn: 109377
This commit is contained in:
@@ -369,14 +369,6 @@ void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn) {
|
||||
|
||||
// Emit the standard function epilogue.
|
||||
FinishFunction(BodyRange.getEnd());
|
||||
|
||||
// Destroy the 'this' declaration.
|
||||
if (CXXThisDecl)
|
||||
CXXThisDecl->Destroy(getContext());
|
||||
|
||||
// Destroy the VTT declaration.
|
||||
if (CXXVTTDecl)
|
||||
CXXVTTDecl->Destroy(getContext());
|
||||
}
|
||||
|
||||
/// ContainsLabel - Return true if the statement contains a label in it. If
|
||||
|
||||
Reference in New Issue
Block a user