[cfe-commits] r113074 - in /cfe/trunk/lib: Frontend/CacheTokens.cpp Sema/SemaCodeComplete.cpp
Chris Lattner
sabre at nondot.org
Sat Sep 4 11:12:20 PDT 2010
Author: lattner
Date: Sat Sep 4 13:12:20 2010
New Revision: 113074
URL: http://llvm.org/viewvc/llvm-project?rev=113074&view=rev
Log:
zap dead code.
Modified:
cfe/trunk/lib/Frontend/CacheTokens.cpp
cfe/trunk/lib/Sema/SemaCodeComplete.cpp
Modified: cfe/trunk/lib/Frontend/CacheTokens.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CacheTokens.cpp?rev=113074&r1=113073&r2=113074&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CacheTokens.cpp (original)
+++ cfe/trunk/lib/Frontend/CacheTokens.cpp Sat Sep 4 13:12:20 2010
@@ -189,8 +189,6 @@
void Emit16(uint32_t V) { ::Emit16(Out, V); }
- void Emit24(uint32_t V) { ::Emit24(Out, V); }
-
void Emit32(uint32_t V) { ::Emit32(Out, V); }
void EmitBuf(const char *Ptr, unsigned NumBytes) {
Modified: cfe/trunk/lib/Sema/SemaCodeComplete.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaCodeComplete.cpp?rev=113074&r1=113073&r2=113074&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaCodeComplete.cpp (original)
+++ cfe/trunk/lib/Sema/SemaCodeComplete.cpp Sat Sep 4 13:12:20 2010
@@ -165,10 +165,6 @@
this->Filter = Filter;
}
- typedef std::vector<Result>::iterator iterator;
- iterator begin() { return Results.begin(); }
- iterator end() { return Results.end(); }
-
Result *data() { return Results.empty()? 0 : &Results.front(); }
unsigned size() const { return Results.size(); }
bool empty() const { return Results.empty(); }
@@ -324,11 +320,11 @@
return *this;
}
- iterator operator++(int) {
+ /*iterator operator++(int) {
iterator tmp(*this);
++(*this);
return tmp;
- }
+ }*/
reference operator*() const {
if (NamedDecl *ND = DeclOrIterator.dyn_cast<NamedDecl *>())
More information about the cfe-commits
mailing list