[PATCH] D108296: Do not emit diagnostics for invalid unicode characters in preprocessing mode

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 18 06:12:53 PDT 2021


aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.

LGTM!



================
Comment at: clang/test/Lexer/unicode.c:3
 // RUN: %clang_cc1 -fsyntax-only -verify -x c++ -std=c++11 %s
+// RUN: %clang_cc1 -triple x86_64-scei-ps4 -E -DPP_ONLY=1 %s -o %t
 // RUN: %clang_cc1 -E -DPP_ONLY=1 %s -o %t
----------------
This RUN line isn't quite correct because it's not running FileCheck over the output. However, I will correct this when landing it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108296



More information about the cfe-commits mailing list