Hmm, in that case, why do we need that check? I just wonder how we could end up in such situation if we use the dedicated APIs. http://reviews.llvm.org/D9355 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/