forked from qt-creator/qt-creator
Clang: Fix command name for QDebug
Change-Id: If29a41aaefeda725965a85f0c7ff47124e2a23c7 Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
This commit is contained in:
@@ -76,7 +76,7 @@ bool operator<(const RegisterProjectPartsForCodeCompletionCommand &first, const
|
|||||||
|
|
||||||
QDebug operator<<(QDebug debug, const RegisterProjectPartsForCodeCompletionCommand &command)
|
QDebug operator<<(QDebug debug, const RegisterProjectPartsForCodeCompletionCommand &command)
|
||||||
{
|
{
|
||||||
debug.nospace() << "RegisterProjectPartsForCodeCompletion(";
|
debug.nospace() << "RegisterProjectPartsForCodeCompletionCommand(";
|
||||||
|
|
||||||
for (const ProjectPartContainer &projectContainer : command.projectContainers())
|
for (const ProjectPartContainer &projectContainer : command.projectContainers())
|
||||||
debug.nospace() << projectContainer<< ", ";
|
debug.nospace() << projectContainer<< ", ";
|
||||||
@@ -88,7 +88,7 @@ QDebug operator<<(QDebug debug, const RegisterProjectPartsForCodeCompletionComma
|
|||||||
|
|
||||||
void PrintTo(const RegisterProjectPartsForCodeCompletionCommand &command, ::std::ostream* os)
|
void PrintTo(const RegisterProjectPartsForCodeCompletionCommand &command, ::std::ostream* os)
|
||||||
{
|
{
|
||||||
*os << "RegisterProjectPartsForCodeCompletion(";
|
*os << "RegisterProjectPartsForCodeCompletionCommand(";
|
||||||
|
|
||||||
for (const ProjectPartContainer &projectContainer : command.projectContainers())
|
for (const ProjectPartContainer &projectContainer : command.projectContainers())
|
||||||
PrintTo(projectContainer, os);
|
PrintTo(projectContainer, os);
|
||||||
|
|||||||
Reference in New Issue
Block a user