Skip to content

Commit 951b543

Browse files
committed
clang format
1 parent 6ac42c8 commit 951b543

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

llvm/include/llvm/CodeGenTypes/LowLevelType.h

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ class LLT {
4747

4848
/// Get a low-level token; just a scalar with zero bits (or no size).
4949
static constexpr LLT token() {
50-
return LLT{/*isPointer=*/false, /*isVector=*/false, /*isScalar=*/true,
51-
ElementCount::getFixed(0), /*SizeInBits=*/0,
50+
return LLT{/*isPointer=*/false, /*isVector=*/false,
51+
/*isScalar=*/true, ElementCount::getFixed(0),
52+
/*SizeInBits=*/0,
5253
/*AddressSpace=*/0};
5354
}
5455

@@ -148,7 +149,9 @@ class LLT {
148149
return isValid() && IsPointer && !IsVector;
149150
}
150151
constexpr bool isPointerVector() const { return IsPointer && isVector(); }
151-
constexpr bool isPointerOrPointerVector() const { return IsPointer && isValid(); }
152+
constexpr bool isPointerOrPointerVector() const {
153+
return IsPointer && isValid();
154+
}
152155

153156
/// Returns the number of elements in a vector LLT. Must only be called on
154157
/// vector types.

0 commit comments

Comments
 (0)