]> granicus.if.org Git - clang/commit
[OPENMP]Simplify the check for the predefined allocators, NFC.
authorAlexey Bataev <a.bataev@hotmail.com>
Thu, 21 Mar 2019 19:05:07 +0000 (19:05 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Thu, 21 Mar 2019 19:05:07 +0000 (19:05 +0000)
commitcd6203d849e5085306ca6ea9be7beeb189726b70
tree570a87d8653e93682d53e62d51fbe1260756e7b2
parent2f63b89563b3b38799e89c2897eea594314a37bd
[OPENMP]Simplify the check for the predefined allocators, NFC.

Previously implemented check required the reevaluation of the already
evaluated predefined allocator kind for the global variables. Patch
simplifies this evaluation and removes extra code.

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