Browse Source

Support .ipp files

default_compile_flags
vector-of-bool 4 years ago
parent
commit
30cda52ae2
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/dds/source/file.cpp

+ 2
- 0
src/dds/source/file.cpp View File

@@ -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();


Loading…
Cancel
Save