[PATCH] D26882: Refactor how FunctionDecl handles constexpr:

Nathan Wilson via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 20 19:37:35 PST 2016


nwilson updated this revision to Diff 82194.
nwilson added a comment.

- Remove the call to `setImplicitlyInline()` within `setImplicitlyConstexpr()` and call `setImplicitlyInline()` directly for function concepts.


https://reviews.llvm.org/D26882

Files:
  include/clang/AST/Decl.h
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaDeclCXX.cpp
  lib/Sema/SemaLambda.cpp
  lib/Sema/SemaTemplate.cpp
  test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p2.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26882.82194.patch
Type: text/x-patch
Size: 5659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161221/1bb58038/attachment-0001.bin>


More information about the cfe-commits mailing list