Ninja: Remove some bogus comments.

The virtual methods are overrides not overloads, the constructor
is no longer a default variant, the destructor and GetCMakeInstance
comments add no value, only a typo.
This commit is contained in:
Stephen Kelly 2015-05-23 14:49:07 +02:00
parent d0f59d3598
commit 444bc34978
1 changed files with 0 additions and 9 deletions

View File

@ -31,28 +31,19 @@ class cmake;
class cmLocalNinjaGenerator : public cmLocalGenerator class cmLocalNinjaGenerator : public cmLocalGenerator
{ {
public: public:
/// Default constructor.
cmLocalNinjaGenerator(cmGlobalGenerator* gg, cmLocalGenerator* parent); cmLocalNinjaGenerator(cmGlobalGenerator* gg, cmLocalGenerator* parent);
/// Destructor.
virtual ~cmLocalNinjaGenerator(); virtual ~cmLocalNinjaGenerator();
/// Overloaded methods. @see cmLocalGenerator::Generate()
virtual void Generate(); virtual void Generate();
/// Overloaded methods. @see cmLocalGenerator::Configure()
virtual void Configure(); virtual void Configure();
/// Overloaded methods. @see cmLocalGenerator::GetTargetDirectory()
virtual std::string GetTargetDirectory(cmTarget const& target) const; virtual std::string GetTargetDirectory(cmTarget const& target) const;
const cmGlobalNinjaGenerator* GetGlobalNinjaGenerator() const; const cmGlobalNinjaGenerator* GetGlobalNinjaGenerator() const;
cmGlobalNinjaGenerator* GetGlobalNinjaGenerator(); cmGlobalNinjaGenerator* GetGlobalNinjaGenerator();
/**
* Shortcut to get the cmake instance throw the global generator.
* @return an instance of the cmake object.
*/
const cmake* GetCMakeInstance() const; const cmake* GetCMakeInstance() const;
cmake* GetCMakeInstance(); cmake* GetCMakeInstance();