================
@@ -41,5 +41,19 @@ void EmbeddedResourceNameBuilder::pushArrayIndex(uint64_t
Index) {
OS << Index;
}
+void EmbeddedResourceNameBuilder::pushBaseNameHierarchy(
+ CXXRecordDecl *DerivedRD, CXXRecordDecl *BaseRD) {
+ Offsets.push_back(Name.size());
+ Name.append(FieldDelim);
----------------
bob80905 wrote:
Do we want to assert that BaseRD != DerivedRD? Otherwise, we append a field
delim to the name and don't add anything afterwards, and that could ruin the
name?
https://github.com/llvm/llvm-project/pull/187127
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits