summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorAlexander Shaposhnikov <shal1t712@gmail.com>2017-06-26 23:02:27 +0000
committerAlexander Shaposhnikov <shal1t712@gmail.com>2017-06-26 23:02:27 +0000
commit623513742c068bf463e8287d91ba42bc2fe2e3ef (patch)
treecbc98738c00ddba3045fa9f104a242df256d354c /lldb/source/Plugins/ScriptInterpreter/Python
parent01676883cd6b4016c3d4b8cc2761f6a1f3ea2ea2 (diff)
downloadbcm5719-llvm-623513742c068bf463e8287d91ba42bc2fe2e3ef.tar.gz
bcm5719-llvm-623513742c068bf463e8287d91ba42bc2fe2e3ef.zip
[clang] Enable printf check for CFIndex
According to https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/Strings/Articles/formatSpecifiers.html CFIndex and NSInteger should be treated the same way (see the section Platform Dependencies). This diff changes the function shouldNotPrintDirectly in SemaChecking.cpp accordingly and adds tests for the "fixit" and the warning. Differential revision: https://reviews.llvm.org/D34496 Test plan: make check-all llvm-svn: 306343
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud