cmMakefile: Rename method to something more appropriate.

Allow the name to be used for something more-suitable.
This commit is contained in:
Stephen Kelly 2015-05-16 07:30:33 +02:00
parent 2dd5d42f52
commit 8ab1cce704
4 changed files with 4 additions and 4 deletions

View File

@ -4362,7 +4362,7 @@ void cmMakefile::AddCMakeDependFilesFromUser()
}
}
std::string cmMakefile::GetListFileStack() const
std::string cmMakefile::FormatListFileStack() const
{
std::ostringstream tmp;
size_t depth = this->ListFileStack.size();

View File

@ -575,7 +575,7 @@ public:
{ this->ListFiles.push_back(file);}
void AddCMakeDependFilesFromUser();
std::string GetListFileStack() const;
std::string FormatListFileStack() const;
/**
* Get the current context backtrace.

View File

@ -375,7 +375,7 @@ void cmTryRunCommand::DoNotRunExecutable(const std::string& runArgs,
comment += "Run arguments : ";
comment += runArgs;
comment += "\n";
comment += " Called from: " + this->Makefile->GetListFileStack();
comment += " Called from: " + this->Makefile->FormatListFileStack();
cmsys::SystemTools::ReplaceString(comment, "\n", "\n# ");
file << comment << "\n\n";

View File

@ -130,7 +130,7 @@ static std::string cmakemainGetStack(void *clientdata)
cmMakefile* mf=cmakemainGetMakefile(clientdata);
if (mf)
{
msg = mf->GetListFileStack();
msg = mf->FormatListFileStack();
if (!msg.empty())
{
msg = "\n Called from: " + msg;