summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsC.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDependsC.h')
-rw-r--r--Source/cmDependsC.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/Source/cmDependsC.h b/Source/cmDependsC.h
index 0a0bc36..2f16d77 100644
--- a/Source/cmDependsC.h
+++ b/Source/cmDependsC.h
@@ -29,14 +29,15 @@ class cmDependsC: public cmDepends
public:
/** Checking instances need to know the build directory name and the
relative path from the build directory to the target file. */
- cmDependsC(const char* dir, const char* targetFile, bool verbose);
+ cmDependsC();
/** Scanning need to know the build directory name, the relative
path from the build directory to the target file, the source
file from which to start scanning, and the include file search
- path. It also uses the include file regular expressions. */
- cmDependsC(const char* dir, const char* targetFile,
- const char* sourceFile, std::vector<std::string> const& includes,
+ path. It also uses the include file regular expressions.
+ This is a good example of why constructors should not take arguments.
+ */
+ cmDependsC(const char* sourceFile, std::vector<std::string> const& includes,
const char* scanRegex, const char* complainRegex);
/** Virtual destructor to cleanup subclasses properly. */