]> granicus.if.org Git - clang/commit
Adding pre/post conditions for some Replacement handling functions
authorEdwin Vane <edwin.vane@intel.com>
Fri, 27 Sep 2013 17:52:45 +0000 (17:52 +0000)
committerEdwin Vane <edwin.vane@intel.com>
Fri, 27 Sep 2013 17:52:45 +0000 (17:52 +0000)
commitca750be7edbc7a7acf39aeb7c6a2ef6a4c36cbf1
tree1583e7813fe480e8cdac0a0a8ad45a130fb20a67
parent1b9c5374a3cd33b0e281f494f0e322aef035abca
Adding pre/post conditions for some Replacement handling functions

The vector version of shiftedCodePosition() requires Replacements to be
in sorted order.

Turned existing comment about sorting for deduplicate() into an exact
post condition.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191536 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Tooling/Refactoring.h