forked from OSchip/llvm-project
Call "delete" on the body of FunctionDecls.
llvm-svn: 49135
This commit is contained in:
parent
4e9cc3f272
commit
ca6226628e
|
@ -357,6 +357,7 @@ bool ScopedDecl::isDefinedOutsideFunctionOrMethod() const {
|
|||
|
||||
FunctionDecl::~FunctionDecl() {
|
||||
delete[] ParamInfo;
|
||||
delete Body;
|
||||
}
|
||||
|
||||
unsigned FunctionDecl::getNumParams() const {
|
||||
|
|
Loading…
Reference in New Issue