Commit f63883d9 authored by Ole Christian Eidheim's avatar Ole Christian Eidheim
Browse files

Updated FindLibClang.cmake and fixed tests

parent d85dc207
......@@ -14,7 +14,7 @@
# Known LLVM release numbers.
# most recent versions come first
set(LIBCLANG_KNOWN_LLVM_VERSIONS 5.0.0 5.0
set(LIBCLANG_KNOWN_LLVM_VERSIONS 5.0.1 5.0.0 5.0
4.0.1
4.0.0_1 4.0.0 4.0
3.9.1
......
......@@ -21,7 +21,7 @@ int main() {
bool substr_found=false;
for(unsigned c=0;c<results.size();c++) {
if(results.get(c).get_chunks()[1].chunk=="substr") {
if(results.get(c).get_chunks()[1].text=="substr") {
substr_found=true;
break;
}
......
......@@ -6,7 +6,7 @@ int main() {
{
clangmm::CompletionChunk str("(", clangmm::CompletionChunk_LeftBrace);
assert(str.chunk == "(");
assert(str.text == "(");
assert(str.kind == clangmm::CompletionChunk_LeftBrace);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment