LLVM  4.0.0
Public Member Functions | Public Attributes | List of all members
llvm::DiagnosticInfoOptimizationBase::Argument Struct Reference

Used in the streaming interface as the general argument type. More...

#include <DiagnosticInfo.h>

Collaboration diagram for llvm::DiagnosticInfoOptimizationBase::Argument:
[legend]

Public Member Functions

 Argument (StringRef Str="")
 
 Argument (StringRef Key, Value *V)
 
 Argument (StringRef Key, Type *T)
 
 Argument (StringRef Key, int N)
 
 Argument (StringRef Key, unsigned N)
 
 Argument (StringRef Key, bool B)
 

Public Attributes

StringRef Key
 
std::string Val
 
DebugLoc DLoc
 

Detailed Description

Used in the streaming interface as the general argument type.

It internally converts everything into a key-value pair.

Definition at line 393 of file DiagnosticInfo.h.

Constructor & Destructor Documentation

llvm::DiagnosticInfoOptimizationBase::Argument::Argument ( StringRef  Str = "")
inlineexplicit

Definition at line 399 of file DiagnosticInfo.h.

DiagnosticInfoOptimizationBase::Argument::Argument ( StringRef  Key,
Value V 
)
DiagnosticInfoOptimizationBase::Argument::Argument ( StringRef  Key,
Type T 
)

Definition at line 194 of file DiagnosticInfo.cpp.

References T.

DiagnosticInfoOptimizationBase::Argument::Argument ( StringRef  Key,
int  N 
)

Definition at line 200 of file DiagnosticInfo.cpp.

DiagnosticInfoOptimizationBase::Argument::Argument ( StringRef  Key,
unsigned  N 
)

Definition at line 203 of file DiagnosticInfo.cpp.

llvm::DiagnosticInfoOptimizationBase::Argument::Argument ( StringRef  Key,
bool  B 
)
inline

Definition at line 404 of file DiagnosticInfo.h.

Member Data Documentation

DebugLoc llvm::DiagnosticInfoOptimizationBase::Argument::DLoc
StringRef llvm::DiagnosticInfoOptimizationBase::Argument::Key
std::string llvm::DiagnosticInfoOptimizationBase::Argument::Val

The documentation for this struct was generated from the following files: