[PATCH] D42776: [Sema] Fix an assertion failure in constant expression evaluation of calls to functions with default arguments

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 9 22:16:47 PDT 2018


ahatanak updated this revision to Diff 141788.
ahatanak marked an inline comment as done.
ahatanak set the repository for this revision to rC Clang.
ahatanak added a comment.

Use pair<const void*, unsigned> as the key.


Repository:
  rC Clang

https://reviews.llvm.org/D42776

Files:
  clang/include/clang/AST/APValue.h
  clang/lib/AST/APValue.cpp
  clang/lib/AST/ExprConstant.cpp
  clang/test/SemaCXX/constant-expression-cxx1y.cpp
  clang/test/SemaCXX/constexpr-default-arg.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42776.141788.patch
Type: text/x-patch
Size: 29522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180410/094d3fb7/attachment-0001.bin>


More information about the cfe-commits mailing list