forked from OSchip/llvm-project
DI: Clarify meaning of createTempFunctionFwdDecl() arg, NFC
I stared at `false /*declaration*/` for quite some time before giving up and checking the actual function to see what it meant. Replacing with `/* isDefinition = */ false` to save myself effort later. llvm-svn: 246095
This commit is contained in:
parent
5946ca4fc4
commit
31d38f70ea
|
@ -2386,7 +2386,7 @@ CGDebugInfo::getFunctionForwardDeclaration(const FunctionDecl *FD) {
|
|||
llvm::DISubprogram *SP = DBuilder.createTempFunctionFwdDecl(
|
||||
DContext, Name, LinkageName, Unit, Line,
|
||||
getOrCreateFunctionType(FD, FnType, Unit), !FD->isExternallyVisible(),
|
||||
false /*declaration*/, 0, Flags, CGM.getLangOpts().Optimize, nullptr,
|
||||
/* isDefinition = */ false, 0, Flags, CGM.getLangOpts().Optimize, nullptr,
|
||||
TParamsArray.get(), getFunctionDeclaration(FD));
|
||||
const FunctionDecl *CanonDecl = cast<FunctionDecl>(FD->getCanonicalDecl());
|
||||
FwdDeclReplaceMap.emplace_back(std::piecewise_construct,
|
||||
|
|
Loading…
Reference in New Issue