summaryrefslogtreecommitdiff
path: root/tests/headers/allowlist-namespaces-basic.hpp
diff options
context:
space:
mode:
authorMarcel Hlopko <hlopko@google.com>2021-02-15 13:39:30 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2021-02-15 14:04:52 +0100
commite92dcf2a3f9130a5053299384ce901269c6f161f (patch)
treed7e7303a16ef46033c58bc967bb9b3f1ecf30c78 /tests/headers/allowlist-namespaces-basic.hpp
parentb1c417882662c26398aae6c961b8a503ea8a27e7 (diff)
Make clang version parsing logic more robust
Previously the function assumed that the version number appeared in the third word. This PR adds a heuristic - take the first word that starts with a number. This way we can also parse: `debian clang version 11.0` that my clang reports.
Diffstat (limited to 'tests/headers/allowlist-namespaces-basic.hpp')
0 files changed, 0 insertions, 0 deletions