aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/ErrorHandling.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
commita80501742c932715fcff28224be8e2f4ce4fcc3c (patch)
tree1668b3589cc31c70c518ca8fb25b2c967250fb77 /llvm/lib/Support/ErrorHandling.cpp
parent6a6a4bbdd4230a3a4c5630888452940a0006d546 (diff)
downloadllvm-a80501742c932715fcff28224be8e2f4ce4fcc3c.zip
llvm-a80501742c932715fcff28224be8e2f4ce4fcc3c.tar.gz
llvm-a80501742c932715fcff28224be8e2f4ce4fcc3c.tar.bz2
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. llvm-svn: 200190
Diffstat (limited to 'llvm/lib/Support/ErrorHandling.cpp')
0 files changed, 0 insertions, 0 deletions