From 695c2700de54a5fec72ce7214c137a1dc3a02d7b Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Wed, 9 Aug 2017 10:13:40 -0700 Subject: Major naming overhaul: - `ExpressionSyntaxNode` becomes `Expr` - `StatementSyntaxNode` becomes `Stmt` - `StructSyntaxNode` becomes `StructDecl` - `ProgramSyntaxNode` becomes `ModuleDecl` - `ExpressionType` becomes `Type` - Existing fields names `Type` become `type` - There might be some collateral damage here if there were, e.g., `enum`s named `Type`, but I can live with that for now and fix those up as a I see them --- source/slang/reflection.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/slang/reflection.h') diff --git a/source/slang/reflection.h b/source/slang/reflection.h index 627ca8382..3eef47c6b 100644 --- a/source/slang/reflection.h +++ b/source/slang/reflection.h @@ -24,12 +24,12 @@ String emitReflectionJSON( // -SlangTypeKind getReflectionTypeKind(ExpressionType* type); +SlangTypeKind getReflectionTypeKind(Type* type); SlangTypeKind getReflectionParameterCategory(TypeLayout* typeLayout); -UInt getReflectionFieldCount(ExpressionType* type); -UInt getReflectionFieldByIndex(ExpressionType* type, UInt index); +UInt getReflectionFieldCount(Type* type); +UInt getReflectionFieldByIndex(Type* type, UInt index); UInt getReflectionFieldByIndex(TypeLayout* typeLayout, UInt index); } -- cgit v1.2.3