================
@@ -1071,6 +1071,16 @@ TEST_F(TokenAnnotatorTest, 
UnderstandsRequiresClausesAndConcepts) {
                     "concept C = (!Foo<T>) && Bar;");
----------------
rymiel wrote:

So, GitHub won't actually let me leave a comment on the line I want to actually 
talk about, but I noticed a few lines above this, on line 1066, it uses 
`EXPECT_EQ` instead of `ASSERT_EQ`, which is my mistake from 4 months ago.
But then I noticed a lot of these mistakes elsewhere in the file.
This is unrelated to this patch here, but do any of you have any opinions on 
unifying these? As I understand the assert exists to avoid out-of-bound 
accesses and thus segmentation faults. Is anyone opposed to an NFC commit 
changing all the EXPECTs into ASSERTs? @llvm/pr-subscribers-clang-format 

https://github.com/llvm/llvm-project/pull/78847
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to