Jaysonyan updated this revision to Diff 375887.
Jaysonyan added a comment.
- Add more verbose warning message
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110436/new/
https://reviews.llvm.org/D110436
Files:
clang/include/clang/Basic/DiagnosticG
lebedev.ri added a comment.
The patch description says what the change is, but not why it is the way it is.
In particular, it might be helpful to be more verbose than just stating that
something is unsafe.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.o
Jaysonyan created this revision.
Jaysonyan added reviewers: leonardchan, phosek.
Jaysonyan requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This warning is to dissuade developers from using the potentially unsafe %n
format specifier. Current