[PATCH] D140547: Perform access checking to private members in simple requirement.

Utkarsh Saxena via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 4 11:53:14 PST 2023


usaxena95 updated this revision to Diff 486357.
usaxena95 added a comment.

Return a valid RequriesExpr instead of a ExprError in case of depenedent diagnositcs. 
We would also need to store the diagnositcs in the RequiresExpr for better diagnosis.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140547

Files:
  clang/include/clang/AST/ExprConcepts.h
  clang/lib/Parse/ParseExprCXX.cpp
  clang/lib/Sema/SemaConcept.cpp
  clang/lib/Sema/SemaTemplateInstantiate.cpp
  clang/test/CXX/expr/expr.prim/expr.prim.req/simple-requirement.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140547.486357.patch
Type: text/x-patch
Size: 6674 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230104/3ffc3059/attachment.bin>


More information about the cfe-commits mailing list