Author: Bill Wendling Date: 2024-12-09T23:18:28Z New Revision: d74c73fcf648f9d13c62735317fa1708ec4b9f59
URL: https://github.com/llvm/llvm-project/commit/d74c73fcf648f9d13c62735317fa1708ec4b9f59 DIFF: https://github.com/llvm/llvm-project/commit/d74c73fcf648f9d13c62735317fa1708ec4b9f59.diff LOG: [Clang][CodeGen] Remove extraneous dot prefixes [NFC] (#119275) Added: Modified: clang/lib/CodeGen/CGExpr.cpp Removed: ################################################################################ diff --git a/clang/lib/CodeGen/CGExpr.cpp b/clang/lib/CodeGen/CGExpr.cpp index 5fccc9cbb37ec1..0d16408aa4de9d 100644 --- a/clang/lib/CodeGen/CGExpr.cpp +++ b/clang/lib/CodeGen/CGExpr.cpp @@ -1172,7 +1172,7 @@ llvm::Value *CodeGenFunction::GetCountedByFieldExprGEP( Indices.push_back(Builder.getInt32(0)); return Builder.CreateInBoundsGEP( ConvertType(QualType(RD->getTypeForDecl(), 0)), Res, - RecIndicesTy(llvm::reverse(Indices)), "..counted_by.gep"); + RecIndicesTy(llvm::reverse(Indices)), "counted_by.gep"); } /// This method is typically called in contexts where we can't generate @@ -1187,7 +1187,7 @@ llvm::Value *CodeGenFunction::EmitLoadOfCountedByField( const Expr *Base, const FieldDecl *FAMDecl, const FieldDecl *CountDecl) { if (llvm::Value *GEP = GetCountedByFieldExprGEP(Base, FAMDecl, CountDecl)) return Builder.CreateAlignedLoad(ConvertType(CountDecl->getType()), GEP, - getIntAlign(), "..counted_by.load"); + getIntAlign(), "counted_by.load"); return nullptr; } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits