This is an archive of the discontinued LLVM Phabricator instance.

[AST] Use PrintingPolicy for format string diagnosis
ClosedPublic

Authored by jrtc27 on Apr 23 2020, 5:50 PM.

Details

Summary

This is a small improvement for OpenCL diagnostics, but is also useful
for our CHERI fork, as our __capability qualifier is suppressed from
diagnostics when all pointers are capabilities, only being used when pointers
need to be explicitly opted-in to being capabilities.

Diff Detail

Event Timeline

jrtc27 created this revision.Apr 23 2020, 5:50 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 23 2020, 5:50 PM
aaron.ballman accepted this revision.Apr 24 2020, 11:48 AM
aaron.ballman added a subscriber: aaron.ballman.

LGTM!

This revision is now accepted and ready to land.Apr 24 2020, 11:48 AM
Anastasia accepted this revision.Apr 28 2020, 2:45 AM

LGTM! Thanks!

This revision was automatically updated to reflect the committed changes.