[cfe-commits] r45990 - /cfe/trunk/include/clang/AST/CFG.h
Ted Kremenek
kremenek at apple.com
Mon Jan 14 16:18:03 PST 2008
Author: kremenek
Date: Mon Jan 14 18:18:01 2008
New Revision: 45990
URL: http://llvm.org/viewvc/llvm-project?rev=45990&view=rev
Log:
Removed mutation of CFGBlock through operator[]. For now the underlying ASTs,
however, can still be manipulated through the returned Stmt*.
Modified:
cfe/trunk/include/clang/AST/CFG.h
Modified: cfe/trunk/include/clang/AST/CFG.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/CFG.h?rev=45990&r1=45989&r2=45990&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/CFG.h (original)
+++ cfe/trunk/include/clang/AST/CFG.h Mon Jan 14 18:18:01 2008
@@ -104,7 +104,6 @@
unsigned size() const { return Stmts.size(); }
bool empty() const { return Stmts.empty(); }
- Stmt*& operator[](size_t i) { assert (i < size()); return Stmts[i]; }
Stmt* operator[](size_t i) const { assert (i < size()); return Stmts[i]; }
// CFG iterators
More information about the cfe-commits
mailing list