| 323 | #include "clang/Basic/Version.h" |
| 324 | |
| 325 | static 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 | |
| 339 | int main(int argc, const char** argv) |
nothing calls this directly
no outgoing calls
no test coverage detected