]> granicus.if.org Git - clang/commit
Move the fixit for -Wformat-security to a note.
authorBob Wilson <bob.wilson@apple.com>
Tue, 15 Mar 2016 20:56:38 +0000 (20:56 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 15 Mar 2016 20:56:38 +0000 (20:56 +0000)
commit95e5cfb2fad4d8431a4d74206b7aa150e1359aac
tree638f9edbccb73becc78f2b8bb60131fdd1f79a9e
parentf7077a445b4955b872a8033569a44addb592eb02
Move the fixit for -Wformat-security to a note.

r263299 added a fixit for the -Wformat-security warning, but that runs
into complications with our guideline that error recovery should be done
as-if the fixit had been applied. Putting the fixit on a note avoids that.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@263584 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaChecking.cpp
test/Sema/format-strings-fixit.c
test/Sema/format-strings.c
test/SemaCXX/format-strings-0x.cpp
test/SemaCXX/format-strings.cpp
test/SemaObjC/format-strings-objc-fixit.m [deleted file]
test/SemaObjC/format-strings-objc.m