forked from qt-creator/qt-creator
Clang: Compile against llvm/clang 4.0
Task-number: QTCREATORBUG-17692 Change-Id: I2781129543c09aa64938c9570896d592b57a753c Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -165,7 +165,11 @@ public:
|
||||
if (!realPath.empty())
|
||||
return fromNativePath({realPath.data(), realPath.size()});
|
||||
|
||||
#if LLVM_VERSION_MAJOR >= 4
|
||||
return fromNativePath({file->getName().data(), file->getName().size()});
|
||||
#else
|
||||
return fromNativePath(file->getName());
|
||||
#endif
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user