Need to check if the sema is actually finishing a function decl.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D91376  
[OPENMP]Fix PR47790: segfault in frontend while parsing Objective-C with OpenMP. ClosedPublic Authored by ABataev on Nov 12 2020, 12:00 PM. 
Details Summary Need to check if the sema is actually finishing a function decl. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Nov 12 2020, 12:35 PM This revision was landed with ongoing or failed builds.Nov 12 2020, 1:27 PM Closed by commit rG07b568a9c8db: [OPENMP]Fix PR47790: segfault in frontend while parsing Objective-C with OpenMP. (authored by ABataev).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 304956 clang/lib/Sema/SemaDecl.cpp
 
 clang/test/SemaObjCXX/objcxx_openmp.mm
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||