[PATCH] D53263: [CodeGen] Fix places where the return type of a FunctionDecl was being used in place of the function type

Ben via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 18 17:43:24 PDT 2018


bobsayshilol updated this revision to Diff 170136.
bobsayshilol edited the summary of this revision.
bobsayshilol added a comment.

Fixed the added assert to do the right thing. Clang can now build with a debug Clang built from this patch, and all unittests I could find pass in that built version too.


https://reviews.llvm.org/D53263

Files:
  lib/AST/Decl.cpp
  lib/CodeGen/CGBlocks.cpp
  lib/CodeGen/CGBuiltin.cpp
  lib/CodeGen/CGNonTrivialStruct.cpp
  lib/CodeGen/CGObjC.cpp
  lib/CodeGen/CGStmtOpenMP.cpp
  lib/CodeGen/ItaniumCXXABI.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53263.170136.patch
Type: text/x-patch
Size: 17439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181019/95e1e14d/attachment-0001.bin>


More information about the cfe-commits mailing list