[PATCH] D60561: [clang] fixing diagnostics of constexpr callstack

Gauthier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 11 04:18:07 PDT 2019


Tyker created this revision.
Tyker added a reviewer: rsmith.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

this is a bugfix for this <https://bugs.llvm.org/show_bug.cgi?id=41100>

added a constant copy of argument to CallStackFrame.
and use it in describeCall instead of the modifiable version od arguments.
added test for the diagnostic


Repository:
  rC Clang

https://reviews.llvm.org/D60561

Files:
  clang/lib/AST/ExprConstant.cpp
  clang/test/SemaCXX/constant-expression-cxx1y.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60561.194660.patch
Type: text/x-patch
Size: 7845 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190411/ca886add/attachment.bin>


More information about the cfe-commits mailing list