Skip to content
  • Greg Clayton's avatar
    Added a new format for displaying an array of characters: eFormatCharArray · 4e4294bd
    Greg Clayton authored
    This us useful because sometomes you have to show a single character as: 'a'
    (using eFormatChar) and other times you might have an array of single 
    charcters for display as: 'a' 'b' 'c', and other times you might want to 
    show the contents of buffer of characters that can contain non printable
    chars: "\0\x22\n123". 
    
    This also fixes an issue that currently happens when you have a single character
    C string (const char *a = "a"; or char b[1] = { 'b' };) that was being output
    as "'a'" incorrectly due to the way the eFormatChar format output worked.
    
    llvm-svn: 133316
    4e4294bd
Loading