summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-12-12 02:11:31 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-12-12 02:11:31 +0000
commit5bd34e56ce245a7f92eda4ce5399f19be418dc6d (patch)
tree3c09536d5e69186db65d185700888f1272afc8a7 /llvm/lib/Bitcode
parent0880c6098fc266e6eef4f9e14505e40af877aa1c (diff)
downloadbcm5719-llvm-5bd34e56ce245a7f92eda4ce5399f19be418dc6d.tar.gz
bcm5719-llvm-5bd34e56ce245a7f92eda4ce5399f19be418dc6d.zip
Bitcode: Add missing "Remove in 4.0" comments
llvm-svn: 224090
Diffstat (limited to 'llvm/lib/Bitcode')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
index 4265bf7edf1..78002d61168 100644
--- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -1116,6 +1116,7 @@ std::error_code BitcodeReader::ParseMetadata() {
break;
}
case bitc::METADATA_OLD_FN_NODE: {
+ // FIXME: Remove in 4.0.
// This is a LocalAsMetadata record, the only type of function-local
// metadata.
if (Record.size() % 2 == 1)
@@ -1143,6 +1144,7 @@ std::error_code BitcodeReader::ParseMetadata() {
break;
}
case bitc::METADATA_OLD_NODE: {
+ // FIXME: Remove in 4.0.
if (Record.size() % 2 == 1)
return Error(BitcodeError::InvalidRecord);
OpenPOWER on IntegriCloud