Skip to content

Commit 6ff8091

Browse files
committed
[Alignment] Fix old method name in comment. NFC
getValue() was renamed to value() in the migration from llvm::Optional to std::optional.
1 parent 5b356f2 commit 6ff8091

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/Support/Alignment.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// power of two, its minimum value is 1 which means no alignment requirements.
1515
//
1616
// - MaybeAlign is an optional type, it may be undefined or set. When it's set
17-
// you can get the underlying Align type by using the getValue() method.
17+
// you can get the underlying Align type by using the value() method.
1818
//
1919
//===----------------------------------------------------------------------===//
2020

0 commit comments

Comments
 (0)