[all-commits] [llvm/llvm-project] 5fee69: [AST] Use PrintingPolicy for format string diagnosis
Jessica Clarke via All-commits
all-commits at lists.llvm.org
Tue Apr 28 15:45:00 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5fee6936b8b241b36fadaf0dcd962e9c9adc8a69
https://github.com/llvm/llvm-project/commit/5fee6936b8b241b36fadaf0dcd962e9c9adc8a69
Author: Jessica Clarke <jrtc27 at jrtc27.com>
Date: 2020-04-28 (Tue, 28 Apr 2020)
Changed paths:
M clang/lib/AST/FormatString.cpp
M clang/test/SemaOpenCL/printf-format-strings.cl
Log Message:
-----------
[AST] Use PrintingPolicy for format string diagnosis
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.
Reviewers: rsmith, Anastasia, aaron.ballman
Reviewed By: Anastasia, aaron.ballman
Subscribers: aaron.ballman, arichardson, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D78777
More information about the All-commits
mailing list