[PATCH] D106394: [clang][pp] adds '#pragma include_instead'

Christopher Di Bella via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 20 13:35:40 PDT 2021


cjdb added inline comments.


================
Comment at: clang/lib/Lex/PPLexerChange.cpp:437
+             diag::pp_pragma_include_instead_system_reserved)
+            << Filename << 2 << ('{' + Aliases + '}');
+      }
----------------
I wasn't able to work out how to escape braces inside diagnostic files. Seems neither `{{` nor `\{` work :(


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106394/new/

https://reviews.llvm.org/D106394



More information about the cfe-commits mailing list