Clang: Filter generated files

Generated files are not available, so clang will stop with an fatal error.

Change-Id: I80754015a1daf48cbf2ce8e06526c75b05b2901c
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Marco Bubke
2016-12-05 17:39:44 +01:00
parent e8960b9bd3
commit 3070a28422
3 changed files with 36 additions and 11 deletions

View File

@@ -102,8 +102,8 @@ public:
friend bool operator==(const FilePath &first, const FilePath &second)
{
return first.directory_ == second.directory_
&& first.name_ == second.name_;
return first.name_ == second.name_
&& first.directory_ == second.directory_;
}
FilePath clone() const