Driver: Fix think in ArgList::MakeIndex.

llvm-svn: 66908
This commit is contained in:
Daniel Dunbar 2009-03-13 17:25:24 +00:00
parent 3efedddcf9
commit dfab7abdea
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ unsigned ArgList::MakeIndex(const char *String0) {
unsigned ArgList::MakeIndex(const char *String0, const char *String1) {
unsigned Index0 = MakeIndex(String0);
unsigned Index1 = MakeIndex(String1);
assert(Index0 == Index1 && "Unexpected non-consecutive indices!");
assert(Index0 + 1 == Index1 && "Unexpected non-consecutive indices!");
(void) Index1;
return Index0;
}