summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InlineCost.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-10-09 15:49:00 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-10-09 15:49:00 +0000
commitbfac7dcda04015dca46616fcbf3fc095e02f446d (patch)
tree4f4e8c3bc0228213d7950ec8643c4b7b3d1be008 /llvm/lib/Analysis/InlineCost.cpp
parent9cc3fcc8ecbc3a990c9e0adf75ed49ae1092df17 (diff)
downloadbcm5719-llvm-bfac7dcda04015dca46616fcbf3fc095e02f446d.tar.gz
bcm5719-llvm-bfac7dcda04015dca46616fcbf3fc095e02f446d.zip
Don't rely on a StringRef being null-terminated (it's not) for deprecation messages.
Store pointer and length of the message in DelayedDiagnostic and hide the gory union details. llvm-svn: 116153
Diffstat (limited to 'llvm/lib/Analysis/InlineCost.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud