================
@@ -76,7 +82,7 @@ bool RawStringLiteral::prepare(const Selection &Inputs) {
   if (!N)
     return false;
   Str = dyn_cast_or_null<StringLiteral>(N->ASTNode.get<Stmt>());
-  return Str &&
+  return Str && isFeatureAvailable(Inputs) &&
----------------
HighCommander4 wrote:

I would move this language mode check to the very top of `prepare()` (e.g. 
there is no point doing the work of `commonAncestor()` if this check fails).

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

Reply via email to