[clang] [Clang][Sema] Skip RecordDecl when checking scope of declarations (PR #69432)

Shafik Yaghmour via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 25 22:30:19 PDT 2023


================
@@ -19,4 +19,8 @@ void f2(void) {
   struct U u;
 }
 
-
+void f3(void) {
----------------
shafik wrote:

So unlike the original test case this one does not seem to cause a crash. Can we add a test case for that as well to verify we are fixing that issue as well.

https://github.com/llvm/llvm-project/pull/69432


More information about the cfe-commits mailing list