21 Stream &strm, uint32_t dump_mask) {
48 if (new_type && languages_for_types[new_type]) {
53 error_strm.
Printf(
"invalid language type '%s', ", value.str().c_str());
54 error_strm.
Printf(
"valid values are:\n");
55 for (
int bit : languages_for_types.
bitvector.set_bits()) {
static llvm::raw_ostream & error(Stream &strm)
"lldb/Target/ExecutionContext.h" A class that contains an execution context.
static LanguageSet GetLanguagesSupportingTypeSystems()
static const char * GetNameForLanguageType(lldb::LanguageType language)
static lldb::LanguageType GetLanguageTypeFromString(const char *string)=delete
llvm::json::Value ToJSON(const ExecutionContext *exe_ctx) override
lldb::LanguageType m_current_value
void DumpValue(const ExecutionContext *exe_ctx, Stream &strm, uint32_t dump_mask) override
Status SetValueFromString(llvm::StringRef value, VarSetOperationType op=eVarSetOperationAssign) override
virtual Status SetValueFromString(llvm::StringRef value, VarSetOperationType op=eVarSetOperationAssign)
virtual const char * GetTypeAsCString() const
llvm::StringRef GetString() const
A stream class that can stream formatted output to a file.
size_t Printf(const char *format,...) __attribute__((format(printf
Output printf formatted output to the stream.
size_t PutCString(llvm::StringRef cstr)
Output a C string to the stream.
A class that represents a running process on the host machine.
VarSetOperationType
Settable state variable types.
@ eVarSetOperationReplace
@ eVarSetOperationInvalid
@ eVarSetOperationInsertBefore
@ eVarSetOperationInsertAfter
LanguageType
Programming language type.
@ eLanguageTypeUnknown
Unknown or invalid language value.
A SmallBitVector that represents a set of source languages (lldb::LanguageType).
llvm::SmallBitVector bitvector