2017-05-20 06:35:14 +00:00
|
|
|
#pragma once
|
|
|
|
|
2018-02-24 00:12:39 +00:00
|
|
|
#include "lsp_diagnostic.h"
|
2017-05-20 06:35:14 +00:00
|
|
|
|
|
|
|
#include <clang-c/Index.h>
|
2018-07-06 00:53:33 +00:00
|
|
|
#include <clang/Basic/FileManager.h>
|
2017-12-29 16:29:10 +00:00
|
|
|
|
2018-03-31 05:05:21 +00:00
|
|
|
#include <optional>
|
2017-09-22 01:14:57 +00:00
|
|
|
#include <vector>
|
|
|
|
|
2017-05-21 03:46:15 +00:00
|
|
|
// Returns the absolute path to |file|.
|
|
|
|
std::string FileName(CXFile file);
|
2018-07-06 00:53:33 +00:00
|
|
|
std::string FileName(const clang::FileEntry& file);
|
2017-11-04 22:29:03 +00:00
|
|
|
|
|
|
|
std::string ToString(CXString cx_string);
|
|
|
|
|
2017-12-25 17:04:10 +00:00
|
|
|
std::string ToString(CXCursorKind cursor_kind);
|
|
|
|
|
2018-07-14 23:02:59 +00:00
|
|
|
const char* ClangBuiltinTypeName(int);
|