File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -471,10 +471,6 @@ inline bool uses_layer(const std::string& predicate) {
471471 [](auto const & k) { return is_cfg_late_layer_key (k); });
472472}
473473
474- // Tokens outside the vocabulary. A predicate naming one of these used to
475- // evaluate to false in silence, which is indistinguishable from a predicate
476- // that correctly did not apply — so `[target.'cfg(c-abi = "musl")'.build]` was
477- // dropped without a word for the entire time docs/14 documented it.
478474// The systems the rows name (built-in and defined), and the family word.
479475inline std::vector<std::string> system_barewords () {
480476 std::set<std::string> systems;
@@ -489,6 +485,10 @@ inline bool known_bareword(std::string_view w) {
489485 return std::ranges::any_of (mcpp::toolchain::target::rows (), [&](auto const * r) { return r->os == w; });
490486}
491487
488+ // Tokens outside the vocabulary. A predicate naming one of these used to
489+ // evaluate to false in silence, which is indistinguishable from a predicate
490+ // that correctly did not apply — so `[target.'cfg(c-abi = "musl")'.build]` was
491+ // dropped without a word for the entire time docs/14 documented it.
492492inline std::vector<std::string> unknown_tokens (const std::string& predicate) {
493493 auto scan = scan_predicate (predicate);
494494 std::vector<std::string> out;
You can’t perform that action at this time.
0 commit comments