summaryrefslogtreecommitdiffstats
path: root/source/slang/syntax.cpp
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-08-14 08:02:03 -0700
committerTim Foley <tfoley@nvidia.com>2017-08-14 08:02:03 -0700
commit7f57ea4ad86c2a3eb5a14fef458e711845c1f87e (patch)
tree4b5a6ad5714cc8d0588be916c4bd5f4e6eb6ea8e /source/slang/syntax.cpp
parentbb66d6eddd649d8861cecefa2d6ccb7a28a827bc (diff)
Rename `Name` fields to `name`
This is in preparation for using `Name` as a type name.
Diffstat (limited to 'source/slang/syntax.cpp')
-rw-r--r--source/slang/syntax.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/syntax.cpp b/source/slang/syntax.cpp
index 2bd6c122c..a03783825 100644
--- a/source/slang/syntax.cpp
+++ b/source/slang/syntax.cpp
@@ -949,7 +949,7 @@ void Type::accept(IValVisitor* visitor, void* extra)
// Convenience accessors for common properties of declarations
String const& DeclRefBase::GetName() const
{
- return decl->Name.Content;
+ return decl->name.Content;
}
DeclRefBase DeclRefBase::GetParent() const