Skip to content

Commit 4388d53

Browse files
committed
add issue number in test
1 parent 2df4bc1 commit 4388d53

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang-tools-extra/test/clang-tidy/checkers/bugprone/sizeof-expression.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,9 @@ int ValidExpressions() {
386386
return sum;
387387
}
388388

389+
namespace gh115175 {
389390
template<class T>
390391
int ValidateTemplateTypeExpressions(T t) {
391392
return sizeof(t.val) / sizeof(t.val[0]);
392393
}
394+
} // namespace gh115175

0 commit comments

Comments
 (0)