HomePhabricator

Refactor OpenMP stack management.

Authored by Richard Smith <richard-llvm@metafoo.co.uk> on May 30 2019, 4:21 PM.

Description

Refactor OpenMP stack management.

Instead of duplicating access to the directive stack throughout
SemaOpenMP.cpp, consolidate it to a few methods and call those
everywhere else. In passing, simplify adjacent code where possible.

No functionality change intended.

llvm-svn: 362172

Details

Event Timeline

Richard Smith <richard-llvm@metafoo.co.uk> committed rG375dec5e4514: Refactor OpenMP stack management. (authored by Richard Smith <richard-llvm@metafoo.co.uk>).May 30 2019, 4:21 PM