Skip to content

Commit 5b5a78f

Browse files
fixing tests
1 parent d49fa38 commit 5b5a78f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/lib/AST/DeclBase.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,6 +1464,8 @@ DeclContext *DeclContext::getPrimaryContext() {
14641464
return Def;
14651465
return this;
14661466

1467+
case Decl::CXXRecord:
1468+
return this;
14671469
case Decl::ObjCCategory:
14681470
return this;
14691471

0 commit comments

Comments
 (0)