Index: source/Core/FormatEntity.cpp =================================================================== --- source/Core/FormatEntity.cpp +++ source/Core/FormatEntity.cpp @@ -950,11 +950,11 @@ return false; if (log) log->Printf("[Debugger::FormatPrompt] handle as array"); + StreamString special_directions_stream; llvm::StringRef special_directions; if (close_bracket_index != llvm::StringRef::npos && subpath.size() > close_bracket_index) { ConstString additional_data (subpath.drop_front(close_bracket_index+1)); - StreamString special_directions_stream; special_directions_stream.Printf("${%svar%s", do_deref_pointer ? "*" : "", additional_data.GetCString());