MCPcopy Create free account
hub / github.com/clice-io/clice / is_module_statement_complete

Function is_module_statement_complete

src/syntax/scan.cpp:499–501  ·  view source on GitHub ↗

Check if a C++20 module statement line (import/export module) is complete. A complete statement must end with ';'.

Source from the content-addressed store, hash-verified

497 return true;
498 }
499 auto keyword = line.front().text(content);
500 if(keyword != "import" && keyword != "export") {
501 return true;
502 }
503 return line.back().kind == clang::tok::semi;
504 };

Callers 1

is_preamble_completeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected