|
|
@@ -19,6 +19,7 @@ std::optional<source_kind> dds::infer_source_kind(path_ref p) noexcept { |
|
|
|
".hpp", |
|
|
|
".hxx", |
|
|
|
".inl", |
|
|
|
".ipp", |
|
|
|
}; |
|
|
|
assert(std::is_sorted(header_exts.begin(), header_exts.end())); |
|
|
|
static std::vector<std::string_view> source_exts = { |
|
|
@@ -29,6 +30,7 @@ std::optional<source_kind> dds::infer_source_kind(path_ref p) noexcept { |
|
|
|
".cpp", |
|
|
|
".cxx", |
|
|
|
}; |
|
|
|
assert(std::is_sorted(header_exts.begin(), header_exts.end())); |
|
|
|
assert(std::is_sorted(source_exts.begin(), source_exts.end())); |
|
|
|
auto leaf = p.filename(); |
|
|
|
|