summaryrefslogtreecommitdiff
path: root/Source/cmListFileCache.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2006-03-15 11:02:08 -0500
committerKen Martin <ken.martin@kitware.com>2006-03-15 11:02:08 -0500
commit3d96e522617647665d7e99919ba71d34b1db870c (patch)
tree2ec6cf41cc61aad79b94cff9b2aa321f2c8b686e /Source/cmListFileCache.cxx
parent609af5c969be6edf087498f983ccd7d3ac818a48 (diff)
downloadcmake-3d96e522617647665d7e99919ba71d34b1db870c.tar.gz
STYLE: some m_ to this-> cleanup
Diffstat (limited to 'Source/cmListFileCache.cxx')
-rw-r--r--Source/cmListFileCache.cxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/Source/cmListFileCache.cxx b/Source/cmListFileCache.cxx
index 1692fdc7cf..d520d4a492 100644
--- a/Source/cmListFileCache.cxx
+++ b/Source/cmListFileCache.cxx
@@ -50,7 +50,7 @@ bool cmListFile::ParseFile(const char* filename, bool requireProjectCommand)
// Use a simple recursive-descent parser to process the token
// stream.
- this->m_ModifiedTime = cmSystemTools::ModifiedTime(filename);
+ this->ModifiedTime = cmSystemTools::ModifiedTime(filename);
bool parseError = false;
bool haveNewline = true;
cmListFileLexer_Token* token;
@@ -66,12 +66,12 @@ bool cmListFile::ParseFile(const char* filename, bool requireProjectCommand)
{
haveNewline = false;
cmListFileFunction inFunction;
- inFunction.m_Name = token->text;
- inFunction.m_FilePath = filename;
- inFunction.m_Line = token->line;
+ inFunction.Name = token->text;
+ inFunction.FilePath = filename;
+ inFunction.Line = token->line;
if(cmListFileCacheParseFunction(lexer, inFunction, filename))
{
- this->m_Functions.push_back(inFunction);
+ this->Functions.push_back(inFunction);
}
else
{
@@ -105,7 +105,7 @@ bool cmListFile::ParseFile(const char* filename, bool requireProjectCommand)
}
if (parseError)
{
- this->m_ModifiedTime = 0;
+ this->ModifiedTime = 0;
}
cmListFileLexer_Delete(lexer);
@@ -115,10 +115,10 @@ bool cmListFile::ParseFile(const char* filename, bool requireProjectCommand)
bool hasProject = false;
// search for a project command
for(std::vector<cmListFileFunction>::iterator i
- = this->m_Functions.begin();
- i != this->m_Functions.end(); ++i)
+ = this->Functions.begin();
+ i != this->Functions.end(); ++i)
{
- if(cmSystemTools::LowerCase(i->m_Name) == "project")
+ if(cmSystemTools::LowerCase(i->Name) == "project")
{
hasProject = true;
break;
@@ -128,10 +128,10 @@ bool cmListFile::ParseFile(const char* filename, bool requireProjectCommand)
if(!hasProject)
{
cmListFileFunction project;
- project.m_Name = "PROJECT";
+ project.Name = "PROJECT";
cmListFileArgument prj("Project", false, filename, 0);
- project.m_Arguments.push_back(prj);
- this->m_Functions.insert(this->m_Functions.begin(),project);
+ project.Arguments.push_back(prj);
+ this->Functions.insert(this->Functions.begin(),project);
}
}
return true;
@@ -177,13 +177,13 @@ bool cmListFileCacheParseFunction(cmListFileLexer* lexer,
{
cmListFileArgument a(token->text,
false, filename, token->line);
- function.m_Arguments.push_back(a);
+ function.Arguments.push_back(a);
}
else if(token->type == cmListFileLexer_Token_ArgumentQuoted)
{
cmListFileArgument a(token->text,
true, filename, token->line);
- function.m_Arguments.push_back(a);
+ function.Arguments.push_back(a);
}
else if(token->type != cmListFileLexer_Token_Newline)
{