ccls/src/clang_utils.h

20 lines
406 B
C
Raw Normal View History

#pragma once
#include "lsp_diagnostic.h"
#include <clang-c/Index.h>
#include <clang/Basic/FileManager.h>
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);
std::string FileName(const clang::FileEntry& file);
std::string ToString(CXString cx_string);
std::string ToString(CXCursorKind cursor_kind);
const char* ClangBuiltinTypeName(int);