Skip to content
Snippets Groups Projects
Commit 5071dd80 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

QmakePM: Sort function keywords


They are searched using std::binary_search, which expects sorted input.

Change-Id: Ib2d59ab6e747e6ce36220dfd33dbe9bb145aeb92
Reviewed-by: default avatarTobias Hunger <tobias.hunger@qt.io>
parent 4d342708
No related branches found
Tags v4.2.0
No related merge requests found
......@@ -236,13 +236,13 @@ static const char *const variableKeywords[] = {
};
static const char *const functionKeywords[] = {
"CONFIG",
"absolute_path",
"basename",
"cache",
"cat",
"clean_path",
"clear",
"CONFIG",
"contains",
"count",
"debug",
......@@ -252,9 +252,9 @@ static const char *const functionKeywords[] = {
"equals",
"error",
"escape_expand",
"eval",
"exists",
"export",
"eval",
"files",
"find",
"first",
......@@ -269,9 +269,9 @@ static const char *const functionKeywords[] = {
"isActiveConfig",
"isEmpty",
"isEqual",
"lessThan",
"join",
"last",
"lessThan",
"list",
"load",
"log",
......@@ -283,20 +283,20 @@ static const char *const functionKeywords[] = {
"parseJson",
"prompt",
"quote",
"re_escape",
"relative_path",
"replace",
"requires",
"resolve_depends",
"reverse",
"re_escape",
"section",
"shadowed",
"shell_path",
"shell_quote",
"size",
"sort_depends",
"split",
"sprintf",
"sort_depends",
"system",
"system_path",
"system_quote",
......@@ -306,8 +306,8 @@ static const char *const functionKeywords[] = {
"unset",
"upper",
"val_escape",
"write_file",
"warning",
"write_file",
0
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment