Author: Nikita Popov Date: 2021-12-16T11:49:20+01:00 New Revision: 9fa15e0073b97dc2aa3482f297c13cb9509238e4
URL: https://github.com/llvm/llvm-project/commit/9fa15e0073b97dc2aa3482f297c13cb9509238e4 DIFF: https://github.com/llvm/llvm-project/commit/9fa15e0073b97dc2aa3482f297c13cb9509238e4.diff LOG: [CodeGen] Remove an unused MakeAddrLValue() overload (NFC) This is unused and we should prefer the overloads accepting Address. Added: Modified: clang/lib/CodeGen/CodeGenFunction.h Removed: ################################################################################ diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index bb60e22e4368..6b310d32e28b 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -2498,12 +2498,6 @@ class CodeGenFunction : public CodeGenTypeCache { LValueBaseInfo(Source), CGM.getTBAAAccessInfo(T)); } - LValue MakeAddrLValue(llvm::Value *V, QualType T, CharUnits Alignment, - LValueBaseInfo BaseInfo, TBAAAccessInfo TBAAInfo) { - return LValue::MakeAddr(Address(V, Alignment), T, getContext(), - BaseInfo, TBAAInfo); - } - LValue MakeAddrLValueWithoutTBAA(Address Addr, QualType T, AlignmentSource Source = AlignmentSource::Type) { _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits