[llvm] 6ff8091 - [Alignment] Fix old method name in comment. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 31 11:23:47 PDT 2024


Author: Craig Topper
Date: 2024-10-31T11:23:33-07:00
New Revision: 6ff8091b5ee6fdd6445acf05d33323f862ad5dd8

URL: https://github.com/llvm/llvm-project/commit/6ff8091b5ee6fdd6445acf05d33323f862ad5dd8
DIFF: https://github.com/llvm/llvm-project/commit/6ff8091b5ee6fdd6445acf05d33323f862ad5dd8.diff

LOG: [Alignment] Fix old method name in comment. NFC

getValue() was renamed to value() in the migration from
llvm::Optional to std::optional.

Added: 
    

Modified: 
    llvm/include/llvm/Support/Alignment.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Support/Alignment.h b/llvm/include/llvm/Support/Alignment.h
index 8d4a7e7ddce5f4..61f8febe882fd1 100644
--- a/llvm/include/llvm/Support/Alignment.h
+++ b/llvm/include/llvm/Support/Alignment.h
@@ -14,7 +14,7 @@
 // power of two, its minimum value is 1 which means no alignment requirements.
 //
 // - MaybeAlign is an optional type, it may be undefined or set. When it's set
-// you can get the underlying Align type by using the getValue() method.
+// you can get the underlying Align type by using the value() method.
 //
 //===----------------------------------------------------------------------===//
 


        


More information about the llvm-commits mailing list