Skip to content

Commit 54a6e7e

Browse files
committed
remove local file, fix formatting issues
1 parent aec5122 commit 54a6e7e

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

clang/lib/CIR/CodeGen/CIRGenBuiltinX86.cpp

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ using namespace clang;
2222
using namespace clang::CIRGen;
2323

2424
template <typename... Operands>
25-
static mlir::Value
26-
emitIntrinsicCallOp(CIRGenFunction &cgf, const CallExpr *expr,
27-
const std::string &str, const mlir::Type &resTy,
28-
Operands &&...op) {
25+
static mlir::Value emitIntrinsicCallOp(CIRGenFunction &cgf, const CallExpr *e,
26+
const std::string &str,
27+
const mlir::Type &resTy,
28+
Operands &&...op) {
2929
CIRGenBuilderTy &builder = cgf.getBuilder();
30-
mlir::Location location = cgf.getLoc(expr->getExprLoc());
30+
mlir::Location location = cgf.getLoc(e->getExprLoc());
3131
return cir::LLVMIntrinsicCallOp::create(builder, location,
3232
builder.getStringAttr(str), resTy,
3333
std::forward<Operands>(op)...)
@@ -130,15 +130,14 @@ mlir::Value CIRGenFunction::emitX86BuiltinExpr(unsigned builtinID,
130130
// evaluation.
131131
assert(!cir::MissingFeatures::msvcBuiltins());
132132

133-
// Find out if any arguments are required to be integer constant
134-
// expressions.
133+
// Find out if any arguments are required to be integer constant expressions.
135134
assert(!cir::MissingFeatures::handleBuiltinICEArguments());
136135

137136
// The operands of the builtin call
138137
llvm::SmallVector<mlir::Value> ops;
139138

140-
// `ICEArguments` is a bitmap indicating whether the argument at the i-th
141-
// bit is required to be a constant integer expression.
139+
// `ICEArguments` is a bitmap indicating whether the argument at the i-th bit
140+
// is required to be a constant integer expression.
142141
unsigned iceArguments = 0;
143142
ASTContext::GetBuiltinTypeError error;
144143
getContext().GetBuiltinType(builtinID, error, &iceArguments);

0 commit comments

Comments
 (0)