summaryrefslogtreecommitdiff
path: root/source/slang/mangle.cpp
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2019-04-25 15:00:36 -0400
committerGitHub <noreply@github.com>2019-04-25 15:00:36 -0400
commitb5ca6352416995b5edd358623a6ae5db38d5e634 (patch)
tree8fa30243c974a18565756956f77045e034a7524d /source/slang/mangle.cpp
parentc84e7c0fa526de51f380227a6667f723af36aea2 (diff)
Feature/uint int definition (#954)
* * Moved CPU determination macros to slang.h * Determine SlangUInt/SlangInt from the pointer width (determined from CPU macros) * Removed the UnambiguousInt and UnambigousUInt types - as a previous fragile work around * Removed UInt/Int definition from smart-pointer.h as now in common.h * * Remove ambiguity for PrettyWriter and ints * Improve comment around SlangInt/UInt * More fixes around ambiguity with PrettyWriter and integral types. * Disable VK on OSX. * Force CI to rebuild as spurious error.
Diffstat (limited to 'source/slang/mangle.cpp')
-rw-r--r--source/slang/mangle.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/slang/mangle.cpp b/source/slang/mangle.cpp
index a61e4e666..61fa709b1 100644
--- a/source/slang/mangle.cpp
+++ b/source/slang/mangle.cpp
@@ -3,8 +3,6 @@
#include "name.h"
#include "syntax.h"
-#include "../core/slang-cpu-defines.h"
-
namespace Slang
{
struct ManglingContext
@@ -23,7 +21,7 @@ namespace Slang
ManglingContext* context,
UInt value)
{
- context->sb.append(UnambigousUInt(value));
+ context->sb.append(value);
}
void emit(