================
@@ -200,7 +200,18 @@ class PrototypeParser {
// we cannot have nested _ExtVector.
if (Current.starts_with("_ExtVector<") ||
Current.starts_with("_Vector<")) {
- const size_t EndTemplate = Current.find('>', 0);
+ size_t Pos = Current.find('<');
+ int Depth = 1;
+
+ // There may be a nested address_space<...> modifier on the type.
----------------
jhuber6 wrote:
I'm just saying there's no existing tests for this, and parsing the files
themselves correctly is the test from what it seems. I could move it into a
different PR but I think that would be removing the "test" which is parsing
this file.
https://github.com/llvm/llvm-project/pull/175873
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits