explicit DICompileUnit(MDNode *N = 0) {
DbgNode = N;
if (DbgNode && !isCompileUnit())
- DbgNode = 0;
+ DbgNode = 0;
}
unsigned getLanguage() const { return getUnsignedField(2); }
explicit DISubprogram(MDNode *N = 0) {
DbgNode = N;
if (DbgNode && !isSubprogram())
- DbgNode = 0;
+ DbgNode = 0;
}
DIDescriptor getContext() const { return getDescriptorField(2); }
explicit DILexicalBlock(MDNode *N = 0) {
DbgNode = N;
if (DbgNode && !isLexicalBlock())
- DbgNode = 0;
+ DbgNode = 0;
}
DIScope getContext() const { return getFieldAs<DIScope>(1); }
/// CreateLocation - Creates a debug info location.
DILocation CreateLocation(unsigned LineNo, unsigned ColumnNo,
- DIScope S, DILocation OrigLoc);
+ DIScope S, DILocation OrigLoc);
/// InsertStopPoint - Create a new llvm.dbg.stoppoint intrinsic invocation,
/// inserting it at the end of the specified basic block.