mgehre added a comment. By the way, is there a tool to generate parts of the test based on clang output, i.e. something that will prefix the output of clang with "CHECK: " and "CHECK-NEXT:" so I can copy-and-paste it into my test file? http://reviews.llvm.org/D15031