From 5be131922cb78b4d1ff9bbfe4f524261c12f9cf8 Mon Sep 17 00:00:00 2001 From: Jun Zhang Date: Sat, 8 Jan 2022 10:36:09 +0800 Subject: [PATCH] [NFC] Test commit. This is just a test commit to check whether the permission I got is correct or not. --- clang/lib/CodeGen/CGBuiltin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/lib/CodeGen/CGBuiltin.cpp b/clang/lib/CodeGen/CGBuiltin.cpp index e98c9d5fd844..716134b123dd 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,