File tree Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -325,24 +325,24 @@ struct TemplateParameterListBuilder {
325325 return *this ;
326326 }
327327
328- /*
329- The concept specialization expression (CSE) constructed in
330- constructConceptSpecializationExpr is constructed so that it
331- matches the CSE that is constructed when parsing the below C++ code:
332- template<typename T>
333- concept is_typed_resource_element_compatible = sizeof(T) <= 16;
334- template<typename element_type> requires
335- is_typed_resource_element_compatible<element_type>
336- struct RWBuffer {
337- element_type Val;
338- };
339- int fn() {
340- RWBuffer<int> Buf;
341- }
342- When dumping the AST and filtering for "RWBuffer", the resulting AST
343- structure is what we're trying to construct below, specifically the
344- CSE portion.
345- */
328+ // The concept specialization expression (CSE) constructed in
329+ // constructConceptSpecializationExpr is constructed so that it
330+ // matches the CSE that is constructed when parsing the below C++ code:
331+ //
332+ // template<typename T>
333+ // concept is_typed_resource_element_compatible = sizeof(T) <= 16;
334+ // template<typename element_type> requires
335+ // is_typed_resource_element_compatible<element_type>
336+ // struct RWBuffer {
337+ // element_type Val;
338+ // };
339+ // int fn() {
340+ // RWBuffer<int> Buf;
341+ // }
342+ //
343+ // When dumping the AST and filtering for "RWBuffer", the resulting AST
344+ // structure is what we're trying to construct below, specifically the
345+ // CSE portion.
346346 ConceptSpecializationExpr *
347347 constructConceptSpecializationExpr (Sema &S, ConceptDecl *CD) {
348348 ASTContext &Context = S.getASTContext ();
You can’t perform that action at this time.
0 commit comments