Find should not check the result in the function. I like the approach that Simon suggested. REPOSITORY rL LLVM http://reviews.llvm.org/D7549 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/