forked from qt-creator/qt-creator
Compile fixes with Qt 6
Change-Id: Ia5335bef6aeaff3ce12339db52d96793ff588824 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -75,8 +75,8 @@ static bool isValidIncludePathToken(const ClangBackEnd::TokenInfoContainer &toke
|
||||
if (!token.extraInfo.includeDirectivePath)
|
||||
return false;
|
||||
const Utf8String &tokenName = token.extraInfo.token;
|
||||
return !tokenName.startsWith("include") && tokenName != "<" && tokenName != ">"
|
||||
&& tokenName != "#";
|
||||
return !tokenName.startsWith("include") && tokenName != Utf8String("<")
|
||||
&& tokenName != Utf8String(">") && tokenName != Utf8String("#");
|
||||
}
|
||||
|
||||
static int includePathStartIndex(const QVector<ClangBackEnd::TokenInfoContainer> &marks,
|
||||
|
||||
Reference in New Issue
Block a user