Skip to content

Commit c22fa96

Browse files
committed
typo fix
1 parent 0c5474f commit c22fa96

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

clang/include/clang/CIR/MissingFeatures.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ struct MissingFeatures {
202202
static bool cleanupsToDeactivate() { return false; }
203203
static bool stackBase() { return false; }
204204
static bool peepholeProtection() { return false; }
205-
static bool instrumenation() { return false; }
205+
static bool instrumentation() { return false; }
206206

207207
// Missing types
208208
static bool dataMemberType() { return false; }

clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -927,8 +927,8 @@ class ScalarExprEmitter : public StmtVisitor<ScalarExprEmitter, mlir::Value> {
927927
mlir::Value rhsCond = cgf.evaluateExprAsBool(e->getRHS());
928928

929929
if (instrumentRegions) {
930-
assert(!cir::MissingFeatures::instrumenation());
931-
cgf.cgm.errorNYI(e->getExprLoc(), "instrumenation");
930+
assert(!cir::MissingFeatures::instrumentation());
931+
cgf.cgm.errorNYI(e->getExprLoc(), "instrumentation");
932932
}
933933
// ZExt result to int or bool.
934934
return builder.createZExtOrBitCast(rhsCond.getLoc(), rhsCond, resTy);
@@ -1000,8 +1000,8 @@ class ScalarExprEmitter : public StmtVisitor<ScalarExprEmitter, mlir::Value> {
10001000
mlir::Value rhsCond = cgf.evaluateExprAsBool(e->getRHS());
10011001

10021002
if (instrumentRegions) {
1003-
assert(!cir::MissingFeatures::instrumenation());
1004-
cgf.cgm.errorNYI(e->getExprLoc(), "instrumenation");
1003+
assert(!cir::MissingFeatures::instrumentation());
1004+
cgf.cgm.errorNYI(e->getExprLoc(), "instrumentation");
10051005
}
10061006
// ZExt result to int or bool.
10071007
return builder.createZExtOrBitCast(rhsCond.getLoc(), rhsCond, resTy);

0 commit comments

Comments
 (0)