diff options
| author | Aiden Grossman <aidengrossman@google.com> | 2025-09-26 22:48:22 +0000 |
|---|---|---|
| committer | Aiden Grossman <aidengrossman@google.com> | 2025-09-26 22:48:22 +0000 |
| commit | 76533872e149395812a6d1651aa49dbf53fb4921 (patch) | |
| tree | 199a669fa57a4effc3116705d2ec89c07ff36c65 /llvm/lib/Support/OptimizedStructLayout.cpp | |
| parent | 54f5c1b2e17a9be61609d70dbbc8354ad41bb931 (diff) | |
| parent | 37e7ad184d002db15f72771938755580433cf96d (diff) | |
[𝘀𝗽𝗿] changes introduced through rebaseusers/boomanaiden154/main.lit-remove-t-from-tests
Created using spr 1.3.6
[skip ci]
Diffstat (limited to 'llvm/lib/Support/OptimizedStructLayout.cpp')
| -rw-r--r-- | llvm/lib/Support/OptimizedStructLayout.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Support/OptimizedStructLayout.cpp b/llvm/lib/Support/OptimizedStructLayout.cpp index 7b21f927a346..a3b5c312beaa 100644 --- a/llvm/lib/Support/OptimizedStructLayout.cpp +++ b/llvm/lib/Support/OptimizedStructLayout.cpp @@ -82,7 +82,7 @@ llvm::performOptimizedStructLayout(MutableArrayRef<Field> Fields) { #ifndef NDEBUG checkValidLayout(Fields, Size, MaxAlign); #endif - return std::make_pair(Size, MaxAlign); + return {Size, MaxAlign}; } // Walk over the flexible-offset fields, tracking MaxAlign and @@ -164,7 +164,7 @@ llvm::performOptimizedStructLayout(MutableArrayRef<Field> Fields) { #ifndef NDEBUG checkValidLayout(Fields, LastEnd, MaxAlign); #endif - return std::make_pair(LastEnd, MaxAlign); + return {LastEnd, MaxAlign}; } } @@ -452,5 +452,5 @@ llvm::performOptimizedStructLayout(MutableArrayRef<Field> Fields) { checkValidLayout(Fields, LastEnd, MaxAlign); #endif - return std::make_pair(LastEnd, MaxAlign); + return {LastEnd, MaxAlign}; } |
