forked from qt-creator/qt-creator
CppTools: Remove unused isInjectedFile() in cpppreprocessor.cpp
This static function got moved into a base class. Change-Id: I0b72f324bd52421388c7566dc4fd115a9b27ea7f Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -223,11 +223,6 @@ QString CppPreprocessor::cleanPath(const QString &path)
|
||||
return result;
|
||||
}
|
||||
|
||||
static inline bool isInjectedFile(const QString &fileName)
|
||||
{
|
||||
return fileName.startsWith(QLatin1Char('<')) && fileName.endsWith(QLatin1Char('>'));
|
||||
}
|
||||
|
||||
QString CppPreprocessor::resolveFile_helper(const QString &fileName, IncludeType type)
|
||||
{
|
||||
const QFileInfo fileInfo(fileName);
|
||||
|
||||
Reference in New Issue
Block a user