================
@@ -3740,7 +3740,11 @@ ExprResult Sema::BuildPredefinedExpr(SourceLocation Loc,
   else {
     // Pre-defined identifiers are of type char[x], where x is the length of
     // the string.
-    auto Str = PredefinedExpr::ComputeName(IK, currentDecl);
+    bool ForceElaboratedPrinting = false;
+    if (IK == PredefinedIdentKind::Function && getLangOpts().MicrosoftExt)
+      ForceElaboratedPrinting = true;
----------------
AaronBallman wrote:

```suggestion
    bool ForceElaboratedPrinting = IK == PredefinedIdentKind::Function && 
getLangOpts().MicrosoftExt;
```

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

Reply via email to