mirror of
https://github.com/MaskRay/ccls.git
synced 2025-04-01 06:22:09 +00:00
21 lines
412 B
C++
21 lines
412 B
C++
// Copyright 2017-2020 ccls Authors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
#pragma once
|
|
|
|
#include <llvm/ADT/StringRef.h>
|
|
|
|
#include <string>
|
|
|
|
namespace ccls {
|
|
std::string normalizePath(llvm::StringRef path);
|
|
|
|
// Free any unused memory and return it to the system.
|
|
void freeUnusedMemory();
|
|
|
|
// Stop self and wait for SIGCONT.
|
|
void traceMe();
|
|
|
|
void spawnThread(void *(*fn)(void *), void *arg);
|
|
} // namespace ccls
|