Browse Source

clangmm.h now gets installed again when doing make install.

merge-requests/37/head
eidheim 11 years ago
parent
commit
0970d90513
  1. 1
      src/CMakeLists.txt
  2. 2
      src/Diagnostic.cc
  3. 2
      src/Tokens.h

1
src/CMakeLists.txt

@ -12,6 +12,7 @@ message("Searcing for libclang")
find_package(LibClang REQUIRED)
set(header_files
clangmm.h
CodeCompleteResults.h
CompilationDatabase.h
CompileCommand.h

2
src/Diagnostic.cc

@ -14,7 +14,7 @@ clang::Diagnostic::Diagnostic(CXTranslationUnit& tu, CXDiagnostic& clang_diagnos
auto& token=tokens[0];
clang::SourceRange range=token.get_source_range();
auto end_location=clang::SourceLocation(&range, false);
this->range=range.get_range_data(location, end_location);
this->range=SourceRange::get_range_data(location, end_location);
}
}

2
src/Tokens.h

@ -22,8 +22,6 @@ namespace clang {
unsigned num_tokens_;
std::vector<CXCursor> clang_cursors;
CXTranslationUnit& tu;
static CXChildVisitResult clang_visitor(CXCursor cursor, CXCursor parent, CXClientData clientData);
};
} // namespace clang
#endif // TOKENS_H_

Loading…
Cancel
Save