forked from qt-creator/qt-creator
Clang: Extract long clock/time_point references
Change-Id: If2790263e9a314f27762c57cf6bf4ef67f93a84b Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "clangclock.h"
|
||||
|
||||
#include <filecontainer.h>
|
||||
|
||||
#include <QSharedPointer>
|
||||
@@ -32,12 +34,8 @@
|
||||
|
||||
#include <clang-c/Index.h>
|
||||
|
||||
#include <chrono>
|
||||
|
||||
namespace ClangBackEnd {
|
||||
|
||||
using time_point = std::chrono::steady_clock::time_point;
|
||||
|
||||
class UnsavedFile;
|
||||
class UnsavedFilesData;
|
||||
class UnsavedFilesShallowArguments;
|
||||
@@ -61,7 +59,7 @@ public:
|
||||
|
||||
UnsavedFilesShallowArguments shallowArguments() const;
|
||||
|
||||
const time_point lastChangeTimePoint() const;
|
||||
const TimePoint lastChangeTimePoint() const;
|
||||
|
||||
private:
|
||||
void updateUnsavedFileWithFileContainer(const FileContainer &fileContainer);
|
||||
|
||||
Reference in New Issue
Block a user