summaryrefslogtreecommitdiff
path: root/source/slang/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/compiler.h')
-rw-r--r--source/slang/compiler.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/source/slang/compiler.h b/source/slang/compiler.h
index 8e578f95f..3a5f888fe 100644
--- a/source/slang/compiler.h
+++ b/source/slang/compiler.h
@@ -113,8 +113,8 @@ namespace Slang
// The name of the entry point function (e.g., `main`)
Name* name;
-
- // The type names we want to substitute into the
+
+ // The type names we want to substitute into the
// global generic type parameters
List<String> genericParameterTypeNames;
@@ -373,7 +373,7 @@ namespace Slang
~CompileRequest();
RefPtr<Expr> parseTypeString(TranslationUnitRequest * translationUnit, String typeStr, RefPtr<Scope> scope);
-
+
Type* getTypeFromString(String typeStr);
void parseTranslationUnit(
@@ -526,6 +526,8 @@ namespace Slang
Type* getErrorType();
Type* getStringType();
+ Type* getEnumTypeType();
+
// Construct the type `Ptr<valueType>`, where `Ptr`
// is looked up as a builtin type.
RefPtr<PtrType> getPtrType(RefPtr<Type> valueType);
@@ -572,4 +574,4 @@ namespace Slang
}
-#endif \ No newline at end of file
+#endif