reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/lldb/include/lldb/Interpreter/OptionArgParser.h
   23   static char ToChar(llvm::StringRef s, char fail_value, bool *success_ptr);

References

tools/lldb/source/Interpreter/OptionValueChar.cpp
   45     char char_value = OptionArgParser::ToChar(value, '\0', &success);
tools/lldb/source/Interpreter/Property.cpp
   67         OptionArgParser::ToChar(s, '\0', nullptr));
tools/lldb/unittests/Interpreter/TestOptionArgParser.cpp
   71   EXPECT_EQ('A', OptionArgParser::ToChar("A", 'B', nullptr));
   72   EXPECT_EQ('B', OptionArgParser::ToChar("B", 'A', nullptr));
   74   EXPECT_EQ('A', OptionArgParser::ToChar("A", 'B', &success));
   76   EXPECT_EQ('B', OptionArgParser::ToChar("B", 'A', &success));
   79   EXPECT_EQ('A', OptionArgParser::ToChar("", 'A', &success));
   81   EXPECT_EQ('A', OptionArgParser::ToChar("ABC", 'A', &success));