Skip to content

Commit 8d173d3

Browse files
committed
use // instead of /*..*/ for comment block
1 parent f369fb5 commit 8d173d3

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

clang/lib/Sema/HLSLExternalSemaSource.cpp

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)