};
static Optional<DebugEmissionKind> getEmissionKind(StringRef Str);
- static const char *EmissionKindString(DebugEmissionKind EK);
+ static const char *emissionKindString(DebugEmissionKind EK);
private:
unsigned SourceLanguage;
/// Prepend \p DIExpr with a deref and offset operation and optionally turn it
/// into a stack value.
- static DIExpression *prepend(const DIExpression *DIExpr, bool DerefBefore,
+ static DIExpression *prepend(const DIExpression *Expr, bool DerefBefore,
int64_t Offset = 0, bool DerefAfter = false,
bool StackValue = false);
/// Prepend \p DIExpr with the given opcodes and optionally turn it into a
/// stack value.
- static DIExpression *prependOpcodes(const DIExpression *DIExpr,
+ static DIExpression *prependOpcodes(const DIExpression *Expr,
SmallVectorImpl<uint64_t> &Ops,
bool StackValue = false);
/// DW_OP_deref if needed, and applying \p Ops to the resulting expression.
/// If \p DIExpr is a fragment, the returned expression will contain the same
/// fragment.
- static DIExpression *appendToStack(const DIExpression *DIExpr,
+ static DIExpression *appendToStack(const DIExpression *Expr,
ArrayRef<uint64_t> Ops);
/// Create a DIExpression to describe one part of an aggregate variable that
void MDFieldPrinter::printEmissionKind(StringRef Name,
DICompileUnit::DebugEmissionKind EK) {
- Out << FS << Name << ": " << DICompileUnit::EmissionKindString(EK);
+ Out << FS << Name << ": " << DICompileUnit::emissionKindString(EK);
}
template <class IntTy, class Stringifier>