From f3d70425fa339a0d8f39b920235c98280d250bbb Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Fri, 29 May 2020 08:36:10 -0400 Subject: Feature/ast syntax standard (#1360) * Small improvements to documentation and code around DiagnosticSink * Made methods/functions in slang-syntax.h be lowerCamel Removed some commented out source (was placed elsewhere in code) * Making AST related methods and function lowerCamel. Made IsLeftValue -> isLeftValue. --- source/slang/slang-ir-type-set.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/slang/slang-ir-type-set.cpp') diff --git a/source/slang/slang-ir-type-set.cpp b/source/slang/slang-ir-type-set.cpp index e5271698c..047f9fb95 100644 --- a/source/slang/slang-ir-type-set.cpp +++ b/source/slang/slang-ir-type-set.cpp @@ -118,7 +118,7 @@ IRInst* IRTypeSet::cloneInst(IRInst* inst) case kIROp_VectorType: { auto vecType = static_cast(inst); - const Index elementCount = Index(GetIntVal(vecType->getElementCount())); + const Index elementCount = Index(getIntVal(vecType->getElementCount())); if (elementCount <= 1) { @@ -129,8 +129,8 @@ IRInst* IRTypeSet::cloneInst(IRInst* inst) case kIROp_MatrixType: { auto matType = static_cast(inst); - const Index columnCount = Index(GetIntVal(matType->getColumnCount())); - const Index rowCount = Index(GetIntVal(matType->getRowCount())); + const Index columnCount = Index(getIntVal(matType->getColumnCount())); + const Index rowCount = Index(getIntVal(matType->getRowCount())); if (columnCount <= 1 && rowCount <= 1) { -- cgit v1.2.3