This is an archive of the discontinued LLVM Phabricator instance.

Do not emit diagnostics for invalid unicode characters in preprocessing mode
ClosedPublic

Authored by cor3ntin on Aug 18 2021, 5:58 AM.

Details

Reviewers
aaron.ballman

Diff Detail

Event Timeline

cor3ntin requested review of this revision.Aug 18 2021, 5:58 AM
cor3ntin created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptAug 18 2021, 5:58 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
aaron.ballman accepted this revision.Aug 18 2021, 6:12 AM

LGTM!

clang/test/Lexer/unicode.c
3

This RUN line isn't quite correct because it's not running FileCheck over the output. However, I will correct this when landing it.

This revision is now accepted and ready to land.Aug 18 2021, 6:12 AM
aaron.ballman closed this revision.Aug 18 2021, 6:13 AM

I've landed this in 2715c4da50387ed6dae49a2a17fdcfad8a769a3c, thanks for the quick fix!