aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/HeaderOrder.txt
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/HeaderOrder.txt')
-rw-r--r--scripts/HeaderOrder.txt53
1 files changed, 17 insertions, 36 deletions
diff --git a/scripts/HeaderOrder.txt b/scripts/HeaderOrder.txt
index 1f61d5440..23aaad9f8 100644
--- a/scripts/HeaderOrder.txt
+++ b/scripts/HeaderOrder.txt
@@ -2,15 +2,26 @@
// All platform headers should be included before Scintilla headers
// and each of these groups are then divided into directory groups.
+// Base of the repository relative to this file
+
+//base:..
+
+// File patterns to check:
+//source:include/*.h
+//source:src/*.cxx
+//source:lexlib/*.cxx
+//source:lexers/*.cxx
+//source:win32/*.cxx
+//source:gtk/*.cxx
+//source:cocoa/*.mm
+//source:cocoa/*.h
+//source:test/unit/*.cxx
+//source:lexilla/src/*.cxx
+//source:lexilla/test/*.cxx
+
// C standard library
#include <stddef.h>
-#include <stdlib.h>
#include <stdint.h>
-#include <string.h>
-#include <stdio.h>
-#include <stdarg.h>
-#include <assert.h>
-#include <ctype.h>
// C++ wrappers of C standard library
#include <cstddef>
@@ -18,7 +29,6 @@
#include <cstdint>
#include <cassert>
#include <cstring>
-#include <cctype>
#include <cstdio>
#include <cstdarg>
#include <ctime>
@@ -28,12 +38,10 @@
// C++ standard library
#include <stdexcept>
#include <new>
-#include <utility>
#include <string>
#include <string_view>
#include <vector>
#include <map>
-#include <set>
#include <forward_list>
#include <algorithm>
#include <iterator>
@@ -44,9 +52,7 @@
#include <regex>
#include <iostream>
#include <sstream>
-#include <fstream>
#include <mutex>
-#include <filesystem>
// POSIX
#include <dlfcn.h>
@@ -91,30 +97,11 @@
#include "Scintilla.h"
#include "ScintillaWidget.h"
-#include "SciLexer.h"
-
// lexlib
-#include "StringCopy.h"
-#include "PropSetSimple.h"
-#include "WordList.h"
-#include "LexAccessor.h"
-#include "Accessor.h"
-#include "StyleContext.h"
#include "CharacterSet.h"
#include "CharacterCategory.h"
-#include "LexerModule.h"
-#include "CatalogueModules.h"
-#include "OptionSet.h"
-#include "SparseState.h"
-#include "SubStyles.h"
-#include "DefaultLexer.h"
-#include "LexerBase.h"
-#include "LexerSimple.h"
-#include "LexerNoExceptions.h"
// src
-#include "Catalogue.h"
-
#include "Position.h"
#include "IntegerRectangle.h"
#include "UniqueString.h"
@@ -152,12 +139,6 @@
#include "AutoComplete.h"
#include "ScintillaBase.h"
-#include "ExternalLexer.h"
-
-#include "Lexilla.h"
-#include "TestDocument.h"
-#include "LexillaAccess.h"
-
// Platform-specific headers
// win32