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

are returning a pointer to pointer.

llvm-svn: 139222
This commit is contained in:
Argyrios Kyrtzidis 2011-09-07 03:43:39 +00:00
parent e978d2f644
commit 7d500b3457
1 changed files with 0 additions and 7 deletions

View File

@ -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);