Remove use of STL collection class use of the "data()" method since it isn't
part of C++'98. Most of these were "std::vector<T>::data()" and 
"std::string::data()".



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@108957 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/ClangFunction.cpp b/source/Expression/ClangFunction.cpp
index a7bbff7..7e1160d 100644
--- a/source/Expression/ClangFunction.cpp
+++ b/source/Expression/ClangFunction.cpp
@@ -358,8 +358,8 @@
         buffer.resize(byte_size);
         DataExtractor value_data;
         arg_scalar.GetData (value_data);
-        value_data.ExtractBytes(0, byte_size, process->GetByteOrder(), buffer.data());
-        process->WriteMemory(args_addr_ref + offset, buffer.data(), byte_size, error);
+        value_data.ExtractBytes(0, byte_size, process->GetByteOrder(), &buffer.front());
+        process->WriteMemory(args_addr_ref + offset, &buffer.front(), byte_size, error);
     }
 
     return true;
@@ -417,7 +417,7 @@
     data_buffer.resize(m_return_size);
     Process *process = exc_context.process;
     Error error;
-    size_t bytes_read = process->ReadMemory(args_addr + m_return_offset/8, data_buffer.data(), m_return_size, error);
+    size_t bytes_read = process->ReadMemory(args_addr + m_return_offset/8, &data_buffer.front(), m_return_size, error);
 
     if (bytes_read == 0)
     {
@@ -427,7 +427,7 @@
     if (bytes_read < m_return_size)
         return false;
 
-    DataExtractor data(data_buffer.data(), m_return_size, process->GetByteOrder(), process->GetAddressByteSize());
+    DataExtractor data(&data_buffer.front(), m_return_size, process->GetByteOrder(), process->GetAddressByteSize());
     // FIXME: Assuming an integer scalar for now:
     
     uint32_t offset = 0;