summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-01-27 04:22:22 +0000
committerAlp Toker <alp@nuanti.com>2014-01-27 04:22:22 +0000
commitd2d3624e76882c4675cbdc81caf984c38debd274 (patch)
tree194775f8eb19ca5b188229c613772eb3e4c4e45a /lib/CodeGen/CodeGenFunction.cpp
parent908319e459c087ad06abb9d36366fe33f9fe47f9 (diff)
downloadclang-d2d3624e76882c4675cbdc81caf984c38debd274.tar.gz
clang-d2d3624e76882c4675cbdc81caf984c38debd274.tar.bz2
clang-d2d3624e76882c4675cbdc81caf984c38debd274.tar.xz
Use ConstStringRef facility for getCustomDiagID() safety
This is one of various functions in clang that don't handle arbitrary strings well and can benefit from compile-time safety checks. Also fixes an off-by-one error that caused one additional null byte to get added to the end of custom diagnostic descriptions. ConstStringRef handles tricky details like that for us now. Requires supporting changes in LLVM r200187. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@200190 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions