[PATCH] D25458: Don't create builtin declaration when looking for typo corrections in C++

Albert Gutowski via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 11 16:17:06 PDT 2016


agutowski added a comment.

In https://reviews.llvm.org/D25458#567697, @rnk wrote:

> Can you provide a more complete motivating example where our diagnostics were bad? I'm having a hard time figuring it out from the test


Sure, compiling the following program in C++ for i386 emits warnings about implicit declarations of __emul and __emulu:

  int main() {
    __umul(1, 2);
    return 0;
  }


https://reviews.llvm.org/D25458





More information about the cfe-commits mailing list