[clang] [Clang][CodeGen] Remove extraneous dot prefixes [NFC] (PR #119275)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 9 14:02:23 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Bill Wendling (bwendling)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/119275.diff
1 Files Affected:
- (modified) clang/lib/CodeGen/CGExpr.cpp (+2-2)
``````````diff
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;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/119275
More information about the cfe-commits
mailing list