[PATCH] D98160: [clang] Use decltype((E)) for compound requirement type constraint

Matheus Izvekov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 8 13:28:55 PST 2021


mizvekov updated this revision to Diff 329124.
mizvekov added a comment.

Addressing Arthur's concerns:

- Changed `getBaseDecltypeForExpr` to `getDecltypeForParenthesizedExpr`.
- Changed `ImplicitParens` to `Parenthesized`.
- Clarified comment.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98160/new/

https://reviews.llvm.org/D98160

Files:
  clang/include/clang/AST/ASTContext.h
  clang/include/clang/AST/Type.h
  clang/include/clang/Sema/Sema.h
  clang/lib/AST/ASTContext.cpp
  clang/lib/AST/Type.cpp
  clang/lib/AST/TypePrinter.cpp
  clang/lib/Sema/SemaConcept.cpp
  clang/lib/Sema/SemaExprCXX.cpp
  clang/lib/Sema/SemaType.cpp
  clang/test/CXX/expr/expr.prim/expr.prim.req/compound-requirement.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98160.329124.patch
Type: text/x-patch
Size: 12088 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210308/a06b42be/attachment-0001.bin>


More information about the cfe-commits mailing list