diff options
author | Kitware Robot <kwrobot@kitware.com> | 2015-07-22 17:21:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-27 13:45:35 (GMT) |
commit | 98b9645bcebf009643cff4e265cfcd31b56d80f5 (patch) | |
tree | 237e443d435869c31da8e586b32221d0e4569599 /Source/cmDependsFortran.h | |
parent | 096dd3c9634d331fcb0c4cdf74f6fcda04b755cf (diff) | |
download | CMake-98b9645bcebf009643cff4e265cfcd31b56d80f5.zip CMake-98b9645bcebf009643cff4e265cfcd31b56d80f5.tar.gz CMake-98b9645bcebf009643cff4e265cfcd31b56d80f5.tar.bz2 |
Rename Fortran parser infrastructure to drop "Depends" prefix
The parser can be re-used outside cmDependsFortran or the cmDepends
class hierarchy so drop the "Depends" from its name:
rename 's/DependsFortran([A-Za-z0-9_])/Fortran$1/' Source/*.*
sed -i 's/DependsFortran\([A-Za-z0-9_]\)/Fortran\1/g' Source/*.*
sed -i 's/FortranInternals/DependsFortranInternals/g' Source/*.*
Also manually fix Source/CMakeLists.txt source file ordering.
Diffstat (limited to 'Source/cmDependsFortran.h')
-rw-r--r-- | Source/cmDependsFortran.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmDependsFortran.h b/Source/cmDependsFortran.h index cb40796..9f28088 100644 --- a/Source/cmDependsFortran.h +++ b/Source/cmDependsFortran.h @@ -9,13 +9,13 @@ implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the License for more information. ============================================================================*/ -#ifndef cmDependsFortran_h -#define cmDependsFortran_h +#ifndef cmFortran_h +#define cmFortran_h #include "cmDepends.h" class cmDependsFortranInternals; -class cmDependsFortranSourceInfo; +class cmFortranSourceInfo; /** \class cmDependsFortran * \brief Dependency scanner for Fortran object files. @@ -71,7 +71,7 @@ protected: // Actually write the depenencies to the streams. bool WriteDependenciesReal(const char *obj, - cmDependsFortranSourceInfo const& info, + cmFortranSourceInfo const& info, const char* mod_dir, const char* stamp_dir, std::ostream& makeDepends, std::ostream& internalDepends); |