diff options
Diffstat (limited to 'source/slang/slang-ast-support-types.cpp')
| -rw-r--r-- | source/slang/slang-ast-support-types.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source/slang/slang-ast-support-types.cpp b/source/slang/slang-ast-support-types.cpp index 6a957e427..a06fa2b88 100644 --- a/source/slang/slang-ast-support-types.cpp +++ b/source/slang/slang-ast-support-types.cpp @@ -1,14 +1,14 @@ #include "slang-ast-support-types.h" + #include "slang-ast-base.h" -#include "slang-ast-type.h" #include "slang-ast-expr.h" +#include "slang-ast-type.h" #include "slang-check-impl.h" namespace Slang { QualType::QualType(Type* type) - : type(type) - , isLeftValue(false) + : type(type), isLeftValue(false) { if (as<RefType>(type)) { @@ -45,7 +45,8 @@ Expr* getInnerMostExprFromHigherOrderExpr(Expr* expr, FunctionDifferentiableLeve { if (as<BackwardDifferentiateExpr>(expr)) outLevel = FunctionDifferentiableLevel::Backward; - else if (as<ForwardDifferentiateExpr>(expr) && outLevel == FunctionDifferentiableLevel::None) + else if ( + as<ForwardDifferentiateExpr>(expr) && outLevel == FunctionDifferentiableLevel::None) outLevel = FunctionDifferentiableLevel::Forward; if (workListSet.add(higherOrder)) { @@ -69,4 +70,4 @@ UnownedStringSlice getHigherOrderOperatorName(HigherOrderInvokeExpr* expr) return UnownedStringSlice(); } -} +} // namespace Slang |
