MCPcopy Create free account
hub / github.com/andreasfertig/cppinsights / PrintVersion

Function PrintVersion

Insights.cpp:325–336  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

323#include "clang/Basic/Version.h"
324
325static void PrintVersion(raw_ostream& ostream)
326{
327 ostream << "cpp-insights " << INSIGHTS_VERSION << " https://cppinsights.io (" << GIT_REPO_URL << " "
328 << GIT_COMMIT_HASH << ")"
329 << "\n";
330
331#ifdef INSIGHTS_DEBUG
332 ostream << " Build with debug enabled\n";
333#endif
334 ostream << " LLVM Revision: " << clang::getLLVMRevision() << '\n';
335 ostream << " Clang Revision: " << clang::getClangFullCPPVersion() << '\n';
336}
337//-----------------------------------------------------------------------------
338
339int main(int argc, const char** argv)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected