summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2020-01-03 17:44:48 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2020-01-06 16:33:45 (GMT)
commita8aa89352a448fe9290532ad7b1d24d7e1b5e21e (patch)
treef752c915645391735de5092dd60133e78dd71378 /Source/cmGeneratorTarget.cxx
parentb67c53dddfcf956f4d55cbdc0f4e7705f62e805b (diff)
downloadCMake-a8aa89352a448fe9290532ad7b1d24d7e1b5e21e.zip
CMake-a8aa89352a448fe9290532ad7b1d24d7e1b5e21e.tar.gz
CMake-a8aa89352a448fe9290532ad7b1d24d7e1b5e21e.tar.bz2
clang-format: fix erroneous handling of header <queue>
The rule Regex: '^<' was not applied to this header because a more specific one applies: Regex: '^(<|")Qt?[A-Z]' used for Qt headers (rules are not case-sensitive). So adding a specific rule for this header before the Qt rule is required.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 927364d..523083a 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -10,6 +10,7 @@
#include <cstdlib>
#include <cstring>
#include <iterator>
+#include <queue>
#include <sstream>
#include <unordered_set>
#include <utility>
@@ -17,8 +18,6 @@
#include <cm/memory>
#include <cm/string_view>
-#include <queue>
-
#include "cmsys/RegularExpression.hxx"
#include "cmAlgorithms.h"