================
@@ -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.
----------------
shiltian wrote:

> It's required for this to work and I consider it parsing this file and 
> passing the AMDGPU builtin tests the test.

That's different. You can still do a PR and have minimum tests, and then land 
that one first, and then update this one later.

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

Reply via email to