forked from OSchip/llvm-project
Wrap CfgTraitsFor in namespace llvm to please GCC 5
This commit is contained in:
parent
91dc545bf2
commit
f2a06875b6
|
@ -45,10 +45,11 @@ public:
|
|||
|
||||
} // namespace mlir
|
||||
|
||||
template <>
|
||||
struct llvm::CfgTraitsFor<mlir::Block> {
|
||||
namespace llvm {
|
||||
template <> struct CfgTraitsFor<mlir::Block> {
|
||||
using CfgTraits = mlir::CfgTraits;
|
||||
};
|
||||
} // namespace llvm
|
||||
|
||||
extern template class llvm::DominatorTreeBase<mlir::Block, false>;
|
||||
extern template class llvm::DominatorTreeBase<mlir::Block, true>;
|
||||
|
|
Loading…
Reference in New Issue