]> granicus.if.org Git - clang/commit
Refactor OpenMP stack management.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 30 May 2019 23:21:14 +0000 (23:21 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Thu, 30 May 2019 23:21:14 +0000 (23:21 +0000)
commita7fb0fca0bbe2fea51490be70f219d1d818fac8f
treefa47f287e395e6396ed5626be621798854a5d8ef
parent44d5e48d1d83168417a340d28a52c76fe79067ad
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@362172 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOpenMP.cpp