Add static/const qualifiers to methods. NFC.

Split out this change as requested in D14933.

llvm-svn: 261144
This commit is contained in:
George Burgess IV 2016-02-17 19:59:32 +00:00
parent cfbcf9097d
commit 7c278eb33f
1 changed files with 3 additions and 3 deletions

View File

@ -159,15 +159,15 @@ public:
SizeOffsetType compute(Value *V);
bool knownSize(SizeOffsetType &SizeOffset) {
static bool knownSize(const SizeOffsetType &SizeOffset) {
return SizeOffset.first.getBitWidth() > 1;
}
bool knownOffset(SizeOffsetType &SizeOffset) {
static bool knownOffset(const SizeOffsetType &SizeOffset) {
return SizeOffset.second.getBitWidth() > 1;
}
bool bothKnown(SizeOffsetType &SizeOffset) {
static bool bothKnown(const SizeOffsetType &SizeOffset) {
return knownSize(SizeOffset) && knownOffset(SizeOffset);
}