================
@@ -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:
It's required for this to work and I consider it parsing this file and passing
the AMDGPU builtin tests the test. The original PR mostly treated it the same
way, the 'test' being that it compiles to the `.def` format correctly.
https://github.com/llvm/llvm-project/pull/175873
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits