================
@@ -20076,7 +20076,11 @@ static bool TryEvaluateBuiltinNaN(const ASTContext 
&Context,
                                   bool SNaN,
                                   llvm::APFloat &Result) {
   const StringLiteral *S = dyn_cast<StringLiteral>(Arg->IgnoreParenCasts());
-  if (!S) return false;
+  if (!S)
+    return false;
+
+  if (!S->isOrdinary() && !S->isUTF8())
----------------
cor3ntin wrote:

```suggestion
  if (!S->isOrdinary())
```

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

Reply via email to