[cfe-commits] r39532 - /cfe/cfe/trunk/include/clang/AST/Stmt.h
clattner at cs.uiuc.edu
clattner at cs.uiuc.edu
Wed Jul 11 09:45:20 PDT 2007
Author: clattner
Date: Wed Jul 11 11:45:20 2007
New Revision: 39532
URL: http://llvm.org/viewvc/llvm-project?rev=39532&view=rev
Log:
add accessor
Modified:
cfe/cfe/trunk/include/clang/AST/Stmt.h
Modified: cfe/cfe/trunk/include/clang/AST/Stmt.h
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/include/clang/AST/Stmt.h?rev=39532&r1=39531&r2=39532&view=diff
==============================================================================
--- cfe/cfe/trunk/include/clang/AST/Stmt.h (original)
+++ cfe/cfe/trunk/include/clang/AST/Stmt.h Wed Jul 11 11:45:20 2007
@@ -168,6 +168,7 @@
IdentifierInfo *getID() const { return Label; }
const char *getName() const;
Stmt *getSubStmt() { return SubStmt; }
+ const Stmt *getSubStmt() const { return SubStmt; }
void setIdentLoc(SourceLocation L) { IdentLoc = L; }
void setSubStmt(Stmt *SS) { SubStmt = SS; }
More information about the cfe-commits
mailing list