[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
Mon Oct 10 17:34:31 PDT 2016


agutowski created this revision.
agutowski added reviewers: rnk, hans, majnemer, thakis.
agutowski added a subscriber: cfe-commits.

Declarations for the builtins were created when suspected of being corrections for a typo. That could trigger some absurd warnings about missing headers.


https://reviews.llvm.org/D25458

Files:
  include/clang/Sema/Sema.h
  lib/CodeGen/CGBuiltin.cpp
  lib/Sema/SemaLookup.cpp
  test/Sema/implicit-ms-builtin-decl.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25458.74190.patch
Type: text/x-patch
Size: 7667 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161011/eda91c83/attachment.bin>


More information about the cfe-commits mailing list