LLVM API Documentation

Functions | Variables
LLVMContext.cpp File Reference
#include "llvm/IR/LLVMContext.h"
#include "LLVMContextImpl.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DebugLoc.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/DiagnosticPrinter.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR/Metadata.h"
#include "llvm/Support/ManagedStatic.h"
#include "llvm/Support/SourceMgr.h"
#include <cctype>
Include dependency graph for LLVMContext.cpp:

Go to the source code of this file.

Functions

static bool isValidName (StringRef MDName)
 isValidName - Return true if Name is a valid custom metadata handler name.

Variables

static ManagedStatic< LLVMContextGlobalContext

Function Documentation

static bool isValidName ( StringRef  MDName) [static]

isValidName - Return true if Name is a valid custom metadata handler name.

Definition at line 208 of file LLVMContext.cpp.

References llvm::StringRef::begin(), llvm::StringRef::empty(), llvm::StringRef::end(), and I.

Referenced by llvm::LLVMContext::getMDKindID().


Variable Documentation

Definition at line 28 of file LLVMContext.cpp.

Referenced by llvm::getGlobalContext().