================
@@ -3899,7 +3899,9 @@ ExprResult Parser::ParseTypeTrait() {
   SmallVector<ParsedType, 2> Args;
   do {
     // Parse the next type.
-    TypeResult Ty = ParseTypeName();
+    TypeResult Ty = ParseTypeName(nullptr, getLangOpts().CPlusPlus
----------------
cor3ntin wrote:

```suggestion
    TypeResult Ty = ParseTypeName(/*SourceRange=*/nullptr, 
getLangOpts().CPlusPlus
```

https://github.com/llvm/llvm-project/pull/81298
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to