summaryrefslogtreecommitdiff
path: root/src/qdoc/clangcodeparser.cpp
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2019-07-30 15:49:11 +0200
committerPaul Wicking <paul.wicking@qt.io>2019-08-03 07:12:17 +0200
commitc83bf647fb84f0bee5cc9894dd0c58f661194932 (patch)
tree6e7c1d6c401d4cf1b93e78f4ef446ecd3f07c1c8 /src/qdoc/clangcodeparser.cpp
parenta9416f9cb747632a73e7901b48aa89ad250c69fe (diff)
downloadqttools-c83bf647fb84f0bee5cc9894dd0c58f661194932.tar.gz
QDoc: Ensure all includes are uniform and according to style
Housekeeping. Includes are organized after recommended best practice and organized in the following order: - include self (i.e. include own header) - include local files - include Qt, e.g. <QtCore/qstring.h> - include Qt private - include externals, e.g. stdio.h in alphabetic order within each block, aside from accommodating #if-ery, in which includes follow the block they belong to. Also, updated copyright notice to year of latest edit in each file. Change-Id: I1e6b215f172fd5373d57016f7678b88b9e73231e Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/qdoc/clangcodeparser.cpp')
-rw-r--r--src/qdoc/clangcodeparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qdoc/clangcodeparser.cpp b/src/qdoc/clangcodeparser.cpp
index 3891499fc..827a5cb0b 100644
--- a/src/qdoc/clangcodeparser.cpp
+++ b/src/qdoc/clangcodeparser.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2018 The Qt Company Ltd.
+** Copyright (C) 2019 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the tools applications of the Qt Toolkit.
@@ -57,8 +57,8 @@
#include <clang-c/Index.h>
-#include <stdio.h>
#include <errno.h>
+#include <stdio.h>
QT_BEGIN_NAMESPACE