summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Dominators.cpp
diff options
context:
space:
mode:
authorAlexander Shaposhnikov <shal1t712@gmail.com>2017-07-14 17:30:14 +0000
committerAlexander Shaposhnikov <shal1t712@gmail.com>2017-07-14 17:30:14 +0000
commit1e898d911cbd6f464ac6d4c2a9f63bd6c4abdb80 (patch)
treef2c9abd9e4e393e72af39a53f9825a72d2f8dae1 /llvm/lib/IR/Dominators.cpp
parente1c46554a246ec7c53357682fa145acec26f2a17 (diff)
downloadbcm5719-llvm-1e898d911cbd6f464ac6d4c2a9f63bd6c4abdb80.tar.gz
bcm5719-llvm-1e898d911cbd6f464ac6d4c2a9f63bd6c4abdb80.zip
[clang] Add getSignedSizeType method
C11 standard refers to the signed counterpart of the type size_t in the paragraph 7.21.6.1 where it defines d, i, o, u, x, or x conversion specifiers (in printf format string). In Clang there is a FIXME (in lib/Analysis/PrintfFormatString.cpp) for this case (which is not handled correctly at the moment). This diff adds getSignedSizeType method to TargetInfo and exposes it in ASTContext similarly to how it is done for getSizeType. lib/Analysis/PrintfFormatString.cpp will be changed in a separate commit. Differential revision: https://reviews.llvm.org/D35378 Test plan: make check-all llvm-svn: 308037
Diffstat (limited to 'llvm/lib/IR/Dominators.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud