[all-commits] [llvm/llvm-project] fc6b56: [NFC][ObjectSizeOffset] Use classes instead of std...
Bill Wendling via All-commits
all-commits at lists.llvm.org
Fri Jan 5 18:09:07 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fc6b5666db92e0c1701177aee885db66296e5a86
https://github.com/llvm/llvm-project/commit/fc6b5666db92e0c1701177aee885db66296e5a86
Author: Bill Wendling <5993918+bwendling at users.noreply.github.com>
Date: 2024-01-05 (Fri, 05 Jan 2024)
Changed paths:
M llvm/include/llvm/Analysis/MemoryBuiltins.h
M llvm/lib/Analysis/MemoryBuiltins.cpp
M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
M llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
Log Message:
-----------
[NFC][ObjectSizeOffset] Use classes instead of std::pair (#76882)
The use of std::pair makes the values it holds opaque. Using classes
improves this while keeping the POD aspect of a std::pair. As a nice
addition, the "known" functions held inappropriately in the Visitor
classes can now properly reside in the value classes. :-)
More information about the All-commits
mailing list