[PATCH] D31588: Fix PR25627: Certain constant local variables must be usable as template arguments (without being odr-used)

Faisal Vali via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 26 19:40:39 PDT 2017


faisalv updated this revision to Diff 96858.
faisalv marked 3 inline comments as done.
faisalv added a comment.

Updated the patch following Richard's feedback:

- teach ParseConstantExpression to create its own ExpressionEvaluationContext only if asked to.


https://reviews.llvm.org/D31588

Files:
  include/clang/Parse/Parser.h
  lib/Parse/ParseExpr.cpp
  lib/Parse/ParseTemplate.cpp
  test/SemaCXX/lambda-expressions.cpp
  test/SemaCXX/local-classes.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31588.96858.patch
Type: text/x-patch
Size: 7276 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170427/b2d35eac/attachment.bin>


More information about the cfe-commits mailing list