Add a new Rewriter::getRangeSize method.
Rename SourceRange::Begin()/End() to getBegin()/getEnd() for
consistency with other code.
Start building the rewriter towards handling @encode.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43047 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/StmtDumper.cpp b/AST/StmtDumper.cpp
index 604d473..39d2eff 100644
--- a/AST/StmtDumper.cpp
+++ b/AST/StmtDumper.cpp
@@ -164,10 +164,10 @@
SourceRange R = Node->getSourceRange();
fprintf(stderr, " <");
- DumpLocation(R.Begin());
- if (R.Begin() != R.End()) {
+ DumpLocation(R.getBegin());
+ if (R.getBegin() != R.getEnd()) {
fprintf(stderr, ", ");
- DumpLocation(R.End());
+ DumpLocation(R.getEnd());
}
fprintf(stderr, ">");