mirror of
https://github.com/intel/llvm.git
synced 2026-02-08 00:35:40 +08:00
minor refactoring. No change otherwise.
llvm-svn: 78582
This commit is contained in:
@@ -251,9 +251,7 @@ void CodeGenFunction::GenerateCode(const FunctionDecl *FD,
|
||||
else {
|
||||
assert(!ClassDecl->hasUserDeclaredConstructor() &&
|
||||
"bogus constructor is being synthesize");
|
||||
StartFunction(FD, FD->getResultType(), Fn, Args, SourceLocation());
|
||||
EmitCtorPrologue(CD);
|
||||
FinishFunction();
|
||||
SynthesizeDefaultConstructor(CD, FD, Fn, Args);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user