Tiny correction on the command-line source location parser.

llvm-svn: 73758
This commit is contained in:
Argyrios Kyrtzidis 2009-06-19 06:32:46 +00:00
parent 495d02f4a6
commit 0ec73555a8
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ namespace llvm {
}
std::string::size_type FirstColon = ArgValue.rfind(':', SecondColon-1);
if (SecondColon == std::string::npos) {
if (FirstColon == std::string::npos) {
std::fprintf(stderr, "%s\n", ExpectedFormat);
return true;
}