Skip to content

Commit b101a5b

Browse files
committed
typo fix
1 parent aa24a35 commit b101a5b

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
@@ -209,7 +209,7 @@ struct MissingFeatures {
209209
static bool setTargetAttributes() { return false; }
210210
static bool coverageMapping() { return false; }
211211
static bool peepholeProtection() { return false; }
212-
static bool instrumenation() { return false; }
212+
static bool instrumentation() { return false; }
213213

214214
// Missing types
215215
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
@@ -956,8 +956,8 @@ class ScalarExprEmitter : public StmtVisitor<ScalarExprEmitter, mlir::Value> {
956956
mlir::Value rhsCond = cgf.evaluateExprAsBool(e->getRHS());
957957

958958
if (instrumentRegions) {
959-
assert(!cir::MissingFeatures::instrumenation());
960-
cgf.cgm.errorNYI(e->getExprLoc(), "instrumenation");
959+
assert(!cir::MissingFeatures::instrumentation());
960+
cgf.cgm.errorNYI(e->getExprLoc(), "instrumentation");
961961
}
962962
// ZExt result to int or bool.
963963
return builder.createZExtOrBitCast(rhsCond.getLoc(), rhsCond, resTy);
@@ -1029,8 +1029,8 @@ class ScalarExprEmitter : public StmtVisitor<ScalarExprEmitter, mlir::Value> {
10291029
mlir::Value rhsCond = cgf.evaluateExprAsBool(e->getRHS());
10301030

10311031
if (instrumentRegions) {
1032-
assert(!cir::MissingFeatures::instrumenation());
1033-
cgf.cgm.errorNYI(e->getExprLoc(), "instrumenation");
1032+
assert(!cir::MissingFeatures::instrumentation());
1033+
cgf.cgm.errorNYI(e->getExprLoc(), "instrumentation");
10341034
}
10351035
// ZExt result to int or bool.
10361036
return builder.createZExtOrBitCast(rhsCond.getLoc(), rhsCond, resTy);

0 commit comments

Comments
 (0)