llvm.org GIT mirror llvm / a80d6a0
Fix build with GCC. Seems like a bug in either GCC or clang, but I'm not sure which is right. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213460 91177308-0d34-0410-b5e6-96231b3b80d8 Matt Arsenault 5 years ago
1 changed file(s) with 7 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
::getEntry(); ::getParent();
311311
312312 /// @brief Get the entry BasicBlock of the Region.
313313 /// @return The entry BasicBlock of the region.
314 BlockT *getEntry() const { return RegionNodeT::getEntry(); }
314 BlockT *getEntry() const {
315 return RegionNodeBase
316 }
315317
316318 /// @brief Replace the entry basic block of the region with the new basic
317319 /// block.
351353 /// @brief Get the parent of the Region.
352354 /// @return The parent of the Region or NULL if this is a top level
353355 /// Region.
354 RegionT *getParent() const { return RegionNodeT::getParent(); }
356 RegionT *getParent() const {
357 return RegionNodeBase
358 }
355359
356360 /// @brief Get the RegionNode representing the current Region.
357361 /// @return The RegionNode representing the current Region.
665669 typedef SmallPtrSet RegionSet;
666670
667671 RegionInfoBase();
668 ~RegionInfoBase();
672 virtual ~RegionInfoBase();
669673
670674 RegionInfoBase(const RegionInfoBase &) LLVM_DELETED_FUNCTION;
671675 const RegionInfoBase &operator=(const RegionInfoBase &) LLVM_DELETED_FUNCTION;