Update on format attribute handling.
- Remove the printf0 special handling as we treat it as printf anyway. - Perform basic checks (non-literal, empty) for all formats and not only printf/scanf. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149236 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Sema/Sema.h 20 additions, 12 deletionsinclude/clang/Sema/Sema.h
- lib/Sema/SemaChecking.cpp 40 additions, 58 deletionslib/Sema/SemaChecking.cpp
- test/Sema/format-strings.c 11 additions, 0 deletionstest/Sema/format-strings.c
- test/SemaObjC/format-strings-objc.m 1 addition, 1 deletiontest/SemaObjC/format-strings-objc.m
Loading
Please register or sign in to comment