mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-28 18:41:57 +00:00
20 lines
469 B
C++
20 lines
469 B
C++
#pragma once
|
|
|
|
#include "language_server_api.h"
|
|
|
|
#include <clang-c/Index.h>
|
|
#include <optional.h>
|
|
|
|
#include <vector>
|
|
|
|
using namespace std::experimental;
|
|
|
|
optional<lsDiagnostic> BuildAndDisposeDiagnostic(CXDiagnostic diagnostic,
|
|
const std::string& path);
|
|
|
|
// Returns the absolute path to |file|.
|
|
std::string FileName(CXFile file);
|
|
|
|
std::string ToString(CXString cx_string);
|
|
|
|
std::string ToString(CXCursorKind cursor_kind); |