LLVM  8.0.1
Classes | Namespaces | Functions
DiagnosticInfo.cpp File Reference
#include "llvm/IR/DiagnosticInfo.h"
#include "LLVMContextImpl.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/Twine.h"
#include "llvm/ADT/iterator_range.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/DerivedTypes.h"
#include "llvm/IR/DiagnosticPrinter.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/GlobalValue.h"
#include "llvm/IR/Instruction.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Metadata.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Type.h"
#include "llvm/IR/Value.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/Regex.h"
#include "llvm/Support/ScopedPrinter.h"
#include "llvm/Support/raw_ostream.h"
#include <atomic>
#include <cassert>
#include <memory>
#include <string>
Include dependency graph for DiagnosticInfo.cpp:

Go to the source code of this file.

Classes

struct  llvm::yaml::MappingTraits< DiagnosticLocation >
 
struct  llvm::yaml::MappingTraits< DiagnosticInfoOptimizationBase::Argument >
 

Namespaces

 llvm
 This class represents lattice values for constants.
 
 llvm::yaml
 

Functions

static const BasicBlockgetFirstFunctionBlock (const Function *Func)
 

Function Documentation

◆ getFirstFunctionBlock()

static const BasicBlock& getFirstFunctionBlock ( const Function Func)
static

Definition at line 249 of file DiagnosticInfo.cpp.

References assert(), llvm::Function::empty(), and llvm::Function::front().