clang API Documentation

Classes | Namespaces | Functions
Utils.h File Reference
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/VirtualFileSystem.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/Option/OptSpecifier.h"
Include dependency graph for Utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  clang::DependencyCollector
class  clang::DependencyFileGenerator
class  clang::ModuleDependencyCollector

Namespaces

namespace  llvm
namespace  llvm::opt
namespace  clang

Functions

void clang::ApplyHeaderSearchOptions (HeaderSearch &HS, const HeaderSearchOptions &HSOpts, const LangOptions &Lang, const llvm::Triple &triple)
 Apply the header search options to get given HeaderSearch object.
void clang::InitializePreprocessor (Preprocessor &PP, const PreprocessorOptions &PPOpts, const FrontendOptions &FEOpts)
void clang::DoPrintPreprocessedInput (Preprocessor &PP, raw_ostream *OS, const PreprocessorOutputOptions &Opts)
 DoPrintPreprocessedInput - Implement -E mode.
void clang::AttachDependencyGraphGen (Preprocessor &PP, StringRef OutputFile, StringRef SysRoot)
void clang::AttachHeaderIncludeGen (Preprocessor &PP, bool ShowAllHeaders=false, StringRef OutputPath="", bool ShowDepth=true, bool MSStyle=false)
void clang::CacheTokens (Preprocessor &PP, llvm::raw_fd_ostream *OS)
IntrusiveRefCntPtr
< ExternalSemaSource
clang::createChainedIncludesSource (CompilerInstance &CI, IntrusiveRefCntPtr< ExternalSemaSource > &Reader)
CompilerInvocationclang::createInvocationFromCommandLine (ArrayRef< const char * > Args, IntrusiveRefCntPtr< DiagnosticsEngine > Diags=IntrusiveRefCntPtr< DiagnosticsEngine >())
int clang::getLastArgIntValue (const llvm::opt::ArgList &Args, llvm::opt::OptSpecifier Id, int Default, DiagnosticsEngine *Diags=nullptr)
int clang::getLastArgIntValue (const llvm::opt::ArgList &Args, llvm::opt::OptSpecifier Id, int Default, DiagnosticsEngine &Diags)
uint64_t clang::getLastArgUInt64Value (const llvm::opt::ArgList &Args, llvm::opt::OptSpecifier Id, uint64_t Default, DiagnosticsEngine *Diags=nullptr)
uint64_t clang::getLastArgUInt64Value (const llvm::opt::ArgList &Args, llvm::opt::OptSpecifier Id, uint64_t Default, DiagnosticsEngine &Diags)
void clang::BuryPointer (const void *Ptr)
template<typename T >
void clang::BuryPointer (std::unique_ptr< T > Ptr)