|
CppInterOp
C++ Language Interoperability Layer
|
#include "Paths.h"#include "Compatibility.h"#include "clang/Basic/FileManager.h"#include "clang/Lex/HeaderSearchOptions.h"#include "llvm/Support/Debug.h"#include "llvm/Support/DynamicLibrary.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/FileSystem.h"#include "llvm/Support/Path.h"
Go to the source code of this file.
Namespaces | |
| namespace | CppInternal |
| namespace | CppInternal::utils |
| namespace | CppInternal::utils::platform |
Macros | |
| #define | DEBUG_TYPE "LogNonExistentDirectory" |
| #define | DEBUG_TYPE "SplitPths" |
| #define | DEBUG_TYPE "AddIncludePaths" |
Functions | |
| bool | CppInternal::utils::platform::GetSystemLibraryPaths (llvm::SmallVectorImpl< std::string > &Paths) |
| std::string | CppInternal::utils::platform::NormalizePath (const std::string &Path) |
| Returns a normalized version of the given Path. | |
| void | CppInternal::utils::CopyIncludePaths (const clang::HeaderSearchOptions &Opts, llvm::SmallVectorImpl< std::string > &Paths, bool WithSystem, bool WithFlags) |
| Copies the current include paths into the HeaderSearchOptions. | |
| void | CppInternal::utils::LogNonExistentDirectory (llvm::StringRef Path) |
| Write to cling::errs that directory does not exist in a format matching what 'clang -v' would do. | |
| bool | CppInternal::utils::SplitPaths (llvm::StringRef PathStr, llvm::SmallVectorImpl< llvm::StringRef > &Paths, SplitMode Mode=kPruneNonExistent, llvm::StringRef Delim=CppInternal::utils::platform::kEnvDelim, bool Verbose=false) |
| Collect the constituent paths from a PATH string. | |
| void | CppInternal::utils::AddIncludePaths (llvm::StringRef PathStr, clang::HeaderSearchOptions &HOpts, const char *Delim=CppInternal::utils::platform::kEnvDelim) |
| Adds multiple include paths separated by a delimiter into the given HeaderSearchOptions. | |
| #define DEBUG_TYPE "LogNonExistentDirectory" |
| #define DEBUG_TYPE "SplitPths" |
| #define DEBUG_TYPE "AddIncludePaths" |