================
@@ -523,7 +530,16 @@ void TokenLexer::ExpandFunctionArguments() {
           Macro->isVariadic()) {
         VaArgsPseudoPaste = true;
         // Remove the paste operator, report use of the extension.
-        PP.Diag(ResultToks.pop_back_val().getLocation(), 
diag::ext_paste_comma);
+        const bool VaOptSupport = hasVaOptSupport(PP.getLangOpts());
----------------
serge-sans-paille wrote:

Yeah, and clang-tidy has a different project policy with that respect (they do 
enforce top-level const AFAIU). thanks for the clarification.

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

Reply via email to