forked from qt-creator/qt-creator
Clang: Cleanup more PrintTo functions
Change-Id: If1389462479ae10b067904f05cf785c3d8fb9638 Reviewed-by: David Schulz <david.schulz@qt.io> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
This commit is contained in:
@@ -107,7 +107,6 @@ public:
|
||||
{
|
||||
return second == first;
|
||||
}
|
||||
|
||||
template<typename Type,
|
||||
typename = typename std::enable_if<std::is_pointer<Type>::value>::type
|
||||
>
|
||||
@@ -124,11 +123,9 @@ public:
|
||||
return second == first;
|
||||
}
|
||||
|
||||
friend std::ostream &operator<<(std::ostream &out, const ClangString &string)
|
||||
friend std::ostream &operator<<(std::ostream &os, const ClangString &string)
|
||||
{
|
||||
out << string.cString();
|
||||
|
||||
return out;
|
||||
return os << string.cString();
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user