ccls/src/clang_tu.h

24 lines
851 B
C
Raw Normal View History

2018-08-21 05:27:52 +00:00
// Copyright 2017-2018 ccls Authors
// SPDX-License-Identifier: Apache-2.0
#pragma once
2018-02-22 07:34:32 +00:00
#include "position.h"
#include <clang/Basic/LangOptions.h>
2018-08-29 05:49:53 +00:00
#include <clang/Basic/SourceManager.h>
2018-08-09 17:08:14 +00:00
#include <stdlib.h>
2018-05-28 00:50:02 +00:00
Range FromCharSourceRange(const clang::SourceManager &SM,
const clang::LangOptions &LangOpts,
clang::CharSourceRange R,
llvm::sys::fs::UniqueID *UniqueID = nullptr);
2018-08-09 17:08:14 +00:00
Range FromCharRange(const clang::SourceManager &SM,
const clang::LangOptions &LangOpts, clang::SourceRange R,
llvm::sys::fs::UniqueID *UniqueID = nullptr);
2018-08-09 17:08:14 +00:00
Range FromTokenRange(const clang::SourceManager &SM,
const clang::LangOptions &LangOpts, clang::SourceRange R,
llvm::sys::fs::UniqueID *UniqueID = nullptr);