[clang] 5be1319 - [NFC] Test commit.
Jun Zhang via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 7 18:40:34 PST 2022
Author: Jun Zhang
Date: 2022-01-08T10:36:09+08:00
New Revision: 5be131922cb78b4d1ff9bbfe4f524261c12f9cf8
URL: https://github.com/llvm/llvm-project/commit/5be131922cb78b4d1ff9bbfe4f524261c12f9cf8
DIFF: https://github.com/llvm/llvm-project/commit/5be131922cb78b4d1ff9bbfe4f524261c12f9cf8.diff
LOG: [NFC] Test commit.
This is just a test commit to check whether the permission I got is
correct or not.
Added:
Modified:
clang/lib/CodeGen/CGBuiltin.cpp
Removed:
################################################################################
diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp
index e98c9d5fd8444..716134b123dd6 100644
--- a/clang/lib/CodeGen/CGBuiltin.cpp
+++ b/clang/lib/CodeGen/CGBuiltin.cpp
@@ -159,6 +159,7 @@ static Value *EmitFromInt(CodeGenFunction &CGF, llvm::Value *V,
static Value *MakeBinaryAtomicValue(
CodeGenFunction &CGF, llvm::AtomicRMWInst::BinOp Kind, const CallExpr *E,
AtomicOrdering Ordering = AtomicOrdering::SequentiallyConsistent) {
+
QualType T = E->getType();
assert(E->getArg(0)->getType()->isPointerType());
assert(CGF.getContext().hasSameUnqualifiedType(T,
More information about the cfe-commits
mailing list