Pārlūkot izejas kodu

STYLE: functions use upper case for the first letter

Alex
Alexander Neundorf 18 gadi atpakaļ
vecāks
revīzija
e701ef77d8
2 mainītis faili ar 6 papildinājumiem un 6 dzēšanām
  1. 5 5
      Source/cmTarget.cxx
  2. 1 1
      Source/cmTarget.h

+ 5 - 5
Source/cmTarget.cxx

@@ -410,7 +410,7 @@ void cmTarget::SetMakefile(cmMakefile* mf)
 
 
 void 
-cmTarget::checkForTargetsAsCommand(const std::vector<cmCustomCommand>& commands)
+cmTarget::CheckForTargetsAsCommand(const std::vector<cmCustomCommand>& commands)
 {
   for ( std::vector<cmCustomCommand>::const_iterator cli = commands.begin();
         cli != commands.end();
@@ -529,10 +529,10 @@ void cmTarget::TraceVSDependencies(std::string projFile,
         }
       }
     }
-    
-  checkForTargetsAsCommand(this->GetPreBuildCommands());
-  checkForTargetsAsCommand(this->GetPreLinkCommands());
-  checkForTargetsAsCommand(this->GetPostBuildCommands());
+
+  CheckForTargetsAsCommand(this->GetPreBuildCommands());
+  CheckForTargetsAsCommand(this->GetPreLinkCommands());
+  CheckForTargetsAsCommand(this->GetPostBuildCommands());
 
   while (!srcFilesToProcess.empty())
     {

+ 1 - 1
Source/cmTarget.h

@@ -295,7 +295,7 @@ private:
    * Checks the prebuild, prelink and postbuild custom commands for known
    * targets and adds them to the dependencies.
    */
-  void checkForTargetsAsCommand(const std::vector<cmCustomCommand>& commands);
+  void CheckForTargetsAsCommand(const std::vector<cmCustomCommand>& commands);
   
   
   /**