forked from OSchip/llvm-project
[analyzer] [NFC] Fix comments into more regular form.
This commit is contained in:
parent
499fca3cfc
commit
adcd4b1c0b
|
@ -1286,8 +1286,8 @@ bool MemRegion::hasGlobalsOrParametersStorage() const {
|
|||
return isa<StackArgumentsSpaceRegion, GlobalsSpaceRegion>(getMemorySpace());
|
||||
}
|
||||
|
||||
// getBaseRegion strips away all elements and fields, and get the base region
|
||||
// of them.
|
||||
// Strips away all elements and fields.
|
||||
// Returns the base region of them.
|
||||
const MemRegion *MemRegion::getBaseRegion() const {
|
||||
const MemRegion *R = this;
|
||||
while (true) {
|
||||
|
@ -1307,8 +1307,7 @@ const MemRegion *MemRegion::getBaseRegion() const {
|
|||
return R;
|
||||
}
|
||||
|
||||
// getgetMostDerivedObjectRegion gets the region of the root class of a C++
|
||||
// class hierarchy.
|
||||
// Returns the region of the root class of a C++ class hierarchy.
|
||||
const MemRegion *MemRegion::getMostDerivedObjectRegion() const {
|
||||
const MemRegion *R = this;
|
||||
while (const auto *BR = dyn_cast<CXXBaseObjectRegion>(R))
|
||||
|
|
Loading…
Reference in New Issue