summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/SourceManager.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-08-30 17:50:57 +0000
committerEric Christopher <echristo@gmail.com>2013-08-30 17:50:57 +0000
commit2490f5c9f6a4d18fa8274a1e32b995425c75321e (patch)
treed5fb63e92516207aeef21e03da698895ccd82f77 /lldb/source/Core/SourceManager.cpp
parentff3476e4999948bd8f986c284d1eba6e2e118ba9 (diff)
downloadbcm5719-llvm-2490f5c9f6a4d18fa8274a1e32b995425c75321e.tar.gz
bcm5719-llvm-2490f5c9f6a4d18fa8274a1e32b995425c75321e.zip
Fix a bunch of compile time warnings and a build failure on ubuntu.
llvm-svn: 189683
Diffstat (limited to 'lldb/source/Core/SourceManager.cpp')
-rw-r--r--lldb/source/Core/SourceManager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Core/SourceManager.cpp b/lldb/source/Core/SourceManager.cpp
index 9f289348fd9..940034625c0 100644
--- a/lldb/source/Core/SourceManager.cpp
+++ b/lldb/source/Core/SourceManager.cpp
@@ -567,15 +567,15 @@ SourceManager::File::CalculateLineOffsets (uint32_t line)
// Push a 1 at index zero to indicate the file has been completely indexed.
m_offsets.push_back(UINT32_MAX);
- register const char *s;
+ const char *s;
for (s = start; s < end; ++s)
{
- register char curr_ch = *s;
+ char curr_ch = *s;
if (is_newline_char (curr_ch))
{
if (s + 1 < end)
{
- register char next_ch = s[1];
+ char next_ch = s[1];
if (is_newline_char (next_ch))
{
if (curr_ch != next_ch)
OpenPOWER on IntegriCloud