Unit-test failures
Created by: Stumble
$ ./clangmm_tests
Running 8 test cases...
/foo/bar/libclangmm/tests/TranslationUnit_Test.cc(18): error: in "translation_unit": check tu.ReparseTranslationUnit(buffer) == 0 has failed
unknown location(0): fatal error: in "completion_string": std::invalid_argument: clangmm::CodeCompleteResults::get(unsigned i): i>=size()
/foo/bar/libclangmm/tests/CompletionString_H_Test.cc(12): last checkpoint: "completion_string" entry.
/foo/bar/libclangmm/tests/CodeCompleteResults_H_Test.cc(32): error: in "code_complete_results": check substr_found has failed
/foo/bar/libclangmm/tests/Cursor_H_Test.cc(17): error: in "cursor": check cursor.get_kind() == clangmm::Cursor::Kind::ReturnStmt has failed
/foo/bar/libclangmm/tests/Token_H_Test.cc(14): error: in "token": check tokens->size() == 32 has failed
unknown location(0): fatal error: in "token": memory access violation at address: 0x00000030: no mapping at fault address
/foo/bar/libclangmm/tests/Token_H_Test.cc(15): last checkpoint
*** 6 failures are detected in the test module "clangmm_tests"
Linux stumble 4.9.0-2-amd64 #1 SMP Debian 4.9.18-1 (2017-03-30) x86_64 GNU/Linux
$ gcc --version
gcc (Debian 6.3.0-16) 6.3.0 20170425
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ clang --version
clang version 3.8.1-23 (tags/RELEASE_381/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin