Skip to content

Commit 2494565

Browse files
committed
Update comment
1 parent 98d8a84 commit 2494565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Parse/ParseHLSL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ static bool validateDeclsInsideHLSLBuffer(Parser::DeclGroupPtrTy DG,
2727
return false;
2828
DeclGroupRef Decls = DG.get();
2929
bool IsValid = true;
30-
// Only allow function, variable, record decls inside HLSLBuffer.
30+
// Only allow function, variable, record, and empty decls inside HLSLBuffer.
3131
for (DeclGroupRef::iterator I = Decls.begin(), E = Decls.end(); I != E; ++I) {
3232
Decl *D = *I;
3333
if (isa<CXXRecordDecl, RecordDecl, FunctionDecl, VarDecl, EmptyDecl>(D))

0 commit comments

Comments
 (0)