[flang][openmp] libc++ unordered_map build fix in flang openmp static analysis

Simply move the include of unordered_map from the .cpp file to the .h file
This commit is contained in:
David Truby 2020-07-13 16:07:22 +01:00
parent 7075c056e9
commit 4121172239
2 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,6 @@
#include "check-omp-structure.h"
#include "flang/Parser/parse-tree.h"
#include "flang/Semantics/tools.h"
#include <unordered_map>
namespace Fortran::semantics {

View File

@ -19,6 +19,8 @@
#include "flang/Semantics/semantics.h"
#include "llvm/Frontend/OpenMP/OMPConstants.h"
#include <unordered_map>
using OmpDirectiveSet = Fortran::common::EnumSet<llvm::omp::Directive,
llvm::omp::Directive_enumSize>;