forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.7'
Conflicts: src/plugins/qnx/qnxrunconfiguration.cpp Change-Id: I6069e6a644c6d50c3d2821d51c368129b6957017
This commit is contained in:
@@ -85,10 +85,10 @@ static int includePathStartIndex(const QVector<ClangBackEnd::TokenInfoContainer>
|
||||
}
|
||||
|
||||
static int includePathEndIndex(const QVector<ClangBackEnd::TokenInfoContainer> &marks,
|
||||
int currentIndex)
|
||||
int currentIndex)
|
||||
{
|
||||
int endIndex = currentIndex + 1;
|
||||
while (isValidIncludePathToken(marks[endIndex]))
|
||||
while (endIndex < marks.size() && isValidIncludePathToken(marks[endIndex]))
|
||||
++endIndex;
|
||||
return endIndex - 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user