summaryrefslogtreecommitdiff
path: root/source/slang/slang-ir-constexpr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-ir-constexpr.cpp')
-rw-r--r--source/slang/slang-ir-constexpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-ir-constexpr.cpp b/source/slang/slang-ir-constexpr.cpp
index 1d6fd163c..dbfec9ae7 100644
--- a/source/slang/slang-ir-constexpr.cpp
+++ b/source/slang/slang-ir-constexpr.cpp
@@ -147,7 +147,7 @@ bool opCanBeConstExpr(IRInst* value)
// TODO: realistically need to special-case `call`
// operations here, so that we check whether the
// callee function is fixed/known, and if it is
- // whether it has been decoared as constant-foldable
+ // whether it has been declared as constant-foldable
return opCanBeConstExpr(value->getOp());
}