]> granicus.if.org Git - clang/commit
Swap the order of the condition and body of a do-while statement in
authorDouglas Gregor <dgregor@apple.com>
Fri, 17 Dec 2010 16:18:04 +0000 (16:18 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 17 Dec 2010 16:18:04 +0000 (16:18 +0000)
commitc7b5ed6da7410849b51ba9a9ea04d2cc7b720f48
tree695f8eb3171e4f42a7a60fdee796440d57e39938
parent320e153dbce9c7f57f22a59e4d162795059717e5
Swap the order of the condition and body of a do-while statement in
the AST, so that we visit them in source order. Fixes <rdar://problem/8779113>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@122062 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/Stmt.h
test/Index/annotate-tokens.c