forked from qt-creator/qt-creator
Clang: Use class enum in Document
Change-Id: I754eaf185d10b61db5bd5f622d1912c53f71e79b Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -54,9 +54,9 @@ class Documents;
|
||||
class Document
|
||||
{
|
||||
public:
|
||||
enum FileExistsCheck {
|
||||
CheckIfFileExists,
|
||||
DoNotCheckIfFileExists
|
||||
enum class FileExistsCheck {
|
||||
Check,
|
||||
DoNotCheck
|
||||
};
|
||||
|
||||
Document() = default;
|
||||
@@ -64,7 +64,7 @@ public:
|
||||
const ProjectPart &projectPart,
|
||||
const Utf8StringVector &fileArguments,
|
||||
Documents &documents,
|
||||
FileExistsCheck fileExistsCheck = CheckIfFileExists);
|
||||
FileExistsCheck fileExistsCheck = FileExistsCheck::Check);
|
||||
~Document();
|
||||
|
||||
Document(const Document &cxTranslationUnit);
|
||||
|
||||
Reference in New Issue
Block a user