Cleanup CppCheck::dependencies()
This commit is contained in:
parent
05f2f0e419
commit
e6686dfb5b
|
@ -361,10 +361,6 @@ void CppCheck::checkFile(const std::string &code, const char FileName[])
|
|||
return;
|
||||
}
|
||||
|
||||
// Update the _dependencies..
|
||||
if (_tokenizer.list.getFiles().size() >= 2)
|
||||
_dependencies.insert(_tokenizer.list.getFiles().begin()+1, _tokenizer.list.getFiles().end());
|
||||
|
||||
// call all "runChecks" in all registered Check classes
|
||||
for (std::list<Check *>::iterator it = Check::instances().begin(); it != Check::instances().end(); ++it) {
|
||||
if (_settings.terminated())
|
||||
|
|
|
@ -124,13 +124,6 @@ public:
|
|||
*/
|
||||
void analyseFile(std::istream &f, const std::string &filename);
|
||||
|
||||
/**
|
||||
* @brief Get dependencies. Use this after calling 'check'.
|
||||
*/
|
||||
const std::set<std::string>& dependencies() const {
|
||||
return _dependencies;
|
||||
}
|
||||
|
||||
void tooManyConfigsError(const std::string &file, const std::size_t numberOfConfigurations);
|
||||
|
||||
void dontSimplify() {
|
||||
|
@ -187,7 +180,6 @@ private:
|
|||
std::list<std::string> _errorList;
|
||||
Settings _settings;
|
||||
std::string _fileContent;
|
||||
std::set<std::string> _dependencies;
|
||||
|
||||
void reportProgress(const std::string &filename, const char stage[], const std::size_t value);
|
||||
|
||||
|
|
Loading…
Reference in New Issue