Skip to content

Commit d510a69

Browse files
authored
[CIR][NFC] Fix Missing Decl::OMPGroupPrivate warning (#159631)
Fix the Missing enum element `Decl::OMPGroupPrivate` warning
1 parent a728f21 commit d510a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CIR/CodeGen/CIRGenDecl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -618,6 +618,7 @@ void CIRGenFunction::emitDecl(const Decl &d, bool evaluateConditionDecl) {
618618
case Decl::MSGuid: // __declspec(uuid("..."))
619619
case Decl::TemplateParamObject:
620620
case Decl::OMPThreadPrivate:
621+
case Decl::OMPGroupPrivate:
621622
case Decl::OMPAllocate:
622623
case Decl::OMPCapturedExpr:
623624
case Decl::OMPRequires:
@@ -667,7 +668,6 @@ void CIRGenFunction::emitDecl(const Decl &d, bool evaluateConditionDecl) {
667668
case Decl::UsingPack:
668669
case Decl::OMPDeclareMapper:
669670
case Decl::OMPDeclareReduction:
670-
case Decl::OMPGroupPrivate:
671671
cgm.errorNYI(d.getSourceRange(),
672672
std::string("emitDecl: unhandled decl type: ") +
673673
d.getDeclKindName());

0 commit comments

Comments
 (0)