clang 22.0.0git
OptionUtils.h File Reference
#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/LLVM.h"
#include "llvm/Option/OptSpecifier.h"

Go to the source code of this file.

Namespaces

namespace  llvm
 Diagnostic wrappers for TextAPI types for error reporting.
namespace  llvm::opt
namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.

Functions

int clang::getLastArgIntValue (const llvm::opt::ArgList &Args, llvm::opt::OptSpecifier Id, int Default, DiagnosticsEngine *Diags=nullptr, unsigned Base=0)
 Return the value of the last argument as an integer, or a default.
int clang::getLastArgIntValue (const llvm::opt::ArgList &Args, llvm::opt::OptSpecifier Id, int Default, DiagnosticsEngine &Diags, unsigned Base=0)
uint64_t clang::getLastArgUInt64Value (const llvm::opt::ArgList &Args, llvm::opt::OptSpecifier Id, uint64_t Default, DiagnosticsEngine *Diags=nullptr, unsigned Base=0)
uint64_t clang::getLastArgUInt64Value (const llvm::opt::ArgList &Args, llvm::opt::OptSpecifier Id, uint64_t Default, DiagnosticsEngine &Diags, unsigned Base=0)
StringRef clang::parseMPreferVectorWidthOption (clang::DiagnosticsEngine &Diags, const llvm::opt::ArgList &Args)
StringRef clang::parseMRecipOption (clang::DiagnosticsEngine &Diags, const llvm::opt::ArgList &Args)
std::string clang::GetResourcesPath (StringRef BinaryPath)
 Get the directory where the compiler headers reside, relative to the compiler binary path BinaryPath.
std::string clang::GetResourcesPath (const char *Argv0, void *MainAddr)
 Get the directory where the compiler headers reside, relative to the compiler binary path (found by the passed in arguments).