================
@@ -320,6 +320,13 @@ StringRef AttrOrTypeParameter::getConvertFromStorage() 
const {
   return getDefValue<StringInit>("convertFromStorage").value_or("$_self");
 }
 
+std::vector<StringRef> AttrOrTypeParameter::getCppIncludes() const {
----------------
zero9178 wrote:

`getValueAsListOfStrings` already returns a `std::vector` so we'd just 
needlessly be copying and not really saving on an allocation or anything. I 
also expect the data here to be rather small and inconsequential to performance

https://github.com/llvm/llvm-project/pull/240449
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to