forked from OSchip/llvm-project
Add isGlobalsRegion() predicate to MemRegionManager.
llvm-svn: 58313
This commit is contained in:
parent
9f854697e4
commit
382c1a7c7d
|
@ -418,6 +418,11 @@ public:
|
|||
/// getUnknownRegion - Retrieve the memory region associated with unknown
|
||||
/// memory space.
|
||||
MemSpaceRegion* getUnknownRegion();
|
||||
|
||||
bool isGlobalsRegion(const MemRegion* R) {
|
||||
assert(R && globals);
|
||||
return R == globals;
|
||||
}
|
||||
|
||||
/// getCompoundLiteralRegion - Retrieve the region associated with a
|
||||
/// given CompoundLiteral.
|
||||
|
|
Loading…
Reference in New Issue