forked from OSchip/llvm-project
operator->() in PreprocessingRecord::iterator is useless since we
are returning a pointer to pointer. llvm-svn: 139222
This commit is contained in:
parent
e978d2f644
commit
7d500b3457
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue