CppInterOp
C++ Language Interoperability Layer
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions | Variables
Paths.h File Reference
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include <string>
#include <vector>
Include dependency graph for Paths.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  llvm
 
namespace  clang
 
namespace  CppInternal
 
namespace  CppInternal::utils
 
namespace  CppInternal::utils::platform
 

Enumerations

enum  CppInternal::utils::SplitMode { CppInternal::utils::kPruneNonExistent , CppInternal::utils::kFailNonExistent , CppInternal::utils::kAllowNonExistent }
 

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::platform::DLOpen (const std::string &Path, std::string *Err=nullptr)
 Open a handle to a shared library.
 
void CppInternal::utils::platform::DLClose (void *Lib, std::string *Err=nullptr)
 Close a handle to a shared library.
 
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.
 
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.
 
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.
 

Variables

const char *const CppInternal::utils::platform::kEnvDelim
 Platform specific delimiter for splitting environment variables.