operator->() in PreprocessingRecord::iterator is useless since we

are returning a pointer to pointer.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139222 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Argyrios Kyrtzidis 2011-09-07 03:43:39 +00:00
Родитель befece14a3
Коммит a1e99cc7e9
1 изменённых файлов: 0 добавлений и 7 удалений

Просмотреть файл

@ -336,13 +336,6 @@ namespace clang {
return Self->LoadedPreprocessedEntities.end()[Position];
return Self->PreprocessedEntities[Position];
}
pointer operator->() const {
if (Position < 0)
return &Self->LoadedPreprocessedEntities.end()[Position];
return &Self->PreprocessedEntities[Position];
}
reference operator[](difference_type D) {
return *(*this + D);