Tiny correction on the command-line source location parser.
llvm-svn: 73758
This commit is contained in:
parent
495d02f4a6
commit
0ec73555a8
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue