]> granicus.if.org Git - clang/commit
Introduce Rewriter::IncreaseIndentation() which increase indentations for the lines...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 16 Apr 2011 01:03:33 +0000 (01:03 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Sat, 16 Apr 2011 01:03:33 +0000 (01:03 +0000)
commit10c8d9e63bcc96d55f788e7c08b72ce626c8aeec
tree724a8d54f22542ca0116eb3837f221a9ad5b57a8
parentb6385e84ab94550b9ccb458bf58746e1ed7413ac
Introduce Rewriter::IncreaseIndentation() which increase indentations for the lines between the given source range.
To determine what the indentation should be, a SourceLocation 'parentIndent' parameter is used that should be at
a source location with an indentation one degree lower than the given range.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129628 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Rewrite/Rewriter.h
lib/Rewrite/Rewriter.cpp