summaryrefslogtreecommitdiff
path: root/tools/slang-cpp-extractor
diff options
context:
space:
mode:
Diffstat (limited to 'tools/slang-cpp-extractor')
-rw-r--r--tools/slang-cpp-extractor/cpp-extractor-main.cpp4
-rw-r--r--tools/slang-cpp-extractor/node.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/slang-cpp-extractor/cpp-extractor-main.cpp b/tools/slang-cpp-extractor/cpp-extractor-main.cpp
index c8a4d80f5..2bc0596e1 100644
--- a/tools/slang-cpp-extractor/cpp-extractor-main.cpp
+++ b/tools/slang-cpp-extractor/cpp-extractor-main.cpp
@@ -247,7 +247,7 @@ SlangResult App::execute(const Options& options)
StringBuilder buf;
// Let's guess a 'fileMark' (it becomes part of the filename) based on the macro name. Use lower kabab.
NameConventionUtil::join(slices.getBuffer(), slices.getCount(), NameConvention::LowerKabab, buf);
- typeSet->m_fileMark = buf.ProduceString();
+ typeSet->m_fileMark = buf.produceString();
}
if (typeSet->m_typeName.getLength() == 0)
@@ -255,7 +255,7 @@ SlangResult App::execute(const Options& options)
// Let's guess a typename if not set -> go with upper camel
StringBuilder buf;
NameConventionUtil::join(slices.getBuffer(), slices.getCount(), NameConvention::UpperCamel, buf);
- typeSet->m_typeName = buf.ProduceString();
+ typeSet->m_typeName = buf.produceString();
}
}
}
diff --git a/tools/slang-cpp-extractor/node.h b/tools/slang-cpp-extractor/node.h
index db9a10e36..8455588ad 100644
--- a/tools/slang-cpp-extractor/node.h
+++ b/tools/slang-cpp-extractor/node.h
@@ -118,7 +118,7 @@ public:
void calcAbsoluteName(StringBuilder& outName) const;
/// Get the absolute name
- String getAbsoluteName() const { StringBuilder buf; calcAbsoluteName(buf); return buf.ProduceString(); }
+ String getAbsoluteName() const { StringBuilder buf; calcAbsoluteName(buf); return buf.produceString(); }
/// Calculate the scope path to this node, from the root
void calcScopePath(List<Node*>& outPath) { calcScopePath(this, outPath); }