15 #ifndef LLVM_IR_DEBUGLOC_H
16 #define LLVM_IR_DEBUGLOC_H
19 #include "llvm/Support/DataTypes.h"
67 explicit operator bool()
const {
return Loc; }
80 static DebugLoc get(
unsigned Line,
unsigned Col,
const MDNode *Scope,
81 const MDNode *InlinedAt =
nullptr);
MDNode * getScope() const
DILocation * operator->() const
bool operator==(const DebugLoc &DL) const
DebugLoc getFnDebugLoc() const
Find the debug info location for the start of the function.
void print(raw_ostream &OS) const
prints source location /path/to/file.exe:line:col @[inlined at]
bool hasTrivialDestructor() const
Check whether this has a trivial destructor.
bool hasTrivialDestructor() const
Check whether this has a trivial destructor.
MDNode * getInlinedAtScope() const
Get the fully inlined-at scope for a DebugLoc.
DILocation * getInlinedAt() const
bool operator!=(const DebugLoc &DL) const
MDNode * getAsMDNode() const
Return this as a bar MDNode.
DILocation & operator*() const
This class implements an extremely fast bulk output stream that can only output to a stream...