summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/ClangExpressionParser.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-07-19 19:48:13 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-07-19 19:48:13 +0000
commit4480530a0f9764a6ce69d9545a444e631e820edf (patch)
tree4469bec712bd4f403f8318ebf9baf74958763916 /lldb/source/Expression/ClangExpressionParser.cpp
parent81ebc733b470ef111432657dda14707da9a9344d (diff)
downloadbcm5719-llvm-4480530a0f9764a6ce69d9545a444e631e820edf.tar.gz
bcm5719-llvm-4480530a0f9764a6ce69d9545a444e631e820edf.zip
Patch by Matt Johnson to silence G++ warnings!
Used hand merge to apply the diffs. I did not apply the diffs for FormatManager.h and the diffs for memberwise initialization for ValueObject.cpp because they changed since. I will ask my colleague to apply them later. llvm-svn: 135508
Diffstat (limited to 'lldb/source/Expression/ClangExpressionParser.cpp')
-rw-r--r--lldb/source/Expression/ClangExpressionParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangExpressionParser.cpp b/lldb/source/Expression/ClangExpressionParser.cpp
index c7050f328f4..01095b50969 100644
--- a/lldb/source/Expression/ClangExpressionParser.cpp
+++ b/lldb/source/Expression/ClangExpressionParser.cpp
@@ -257,7 +257,7 @@ ClangExpressionParser::ClangExpressionParser (ExecutionContextScope *exe_scope,
std::string triple = target->GetArchitecture().GetTriple().str();
int dash_count = 0;
- for (int i = 0; i < triple.size(); ++i)
+ for (size_t i = 0; i < triple.size(); ++i)
{
if (triple[i] == '-')
dash_count++;
OpenPOWER on IntegriCloud