Fix a couples of issues in format strings checking.
PR 10274: format function attribute with the NSString archetype yields no compiler warnings PR 10275: format function attribute isn't checked in Objective-C methods git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148324 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/Sema/Sema.h 14 additions, 6 deletionsinclude/clang/Sema/Sema.h
- lib/Sema/SemaChecking.cpp 96 additions, 73 deletionslib/Sema/SemaChecking.cpp
- lib/Sema/SemaExprObjC.cpp 4 additions, 6 deletionslib/Sema/SemaExprObjC.cpp
- test/SemaObjC/format-strings-objc.m 19 additions, 0 deletionstest/SemaObjC/format-strings-objc.m
Loading
Please register or sign in to comment