summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2014-07-18 06:51:55 +0000
committerHal Finkel <hfinkel@anl.gov>2014-07-18 06:51:55 +0000
commite15442c8aa8df1a99f1aaaa34d672466c35c001e (patch)
tree66dad3414dc0b2d77ffbfbfc3d02810972928ef2 /llvm/lib/Bitcode/Reader
parent3dd43fc75dc36504ee7a891550f27500866c40b6 (diff)
downloadbcm5719-llvm-e15442c8aa8df1a99f1aaaa34d672466c35c001e.tar.gz
bcm5719-llvm-e15442c8aa8df1a99f1aaaa34d672466c35c001e.zip
Rename AlignAttribute to IntAttribute
Currently the only kind of integer IR attributes that we have are alignment attributes, and so the attribute kind that takes an integer parameter is called AlignAttr, but that will change (we'll soon be adding a dereferenceable attribute that also takes an integer value). Accordingly, rename AlignAttribute to IntAttribute (class names, enums, etc.). No functionality change intended. llvm-svn: 213352
Diffstat (limited to 'llvm/lib/Bitcode/Reader')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
index e7de539a325..4a0484777cf 100644
--- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
+++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
@@ -683,7 +683,7 @@ std::error_code BitcodeReader::ParseAttributeGroupBlock() {
return EC;
B.addAttribute(Kind);
- } else if (Record[i] == 1) { // Align attribute
+ } else if (Record[i] == 1) { // Integer attribute
Attribute::AttrKind Kind;
if (std::error_code EC = ParseAttrKind(Record[++i], &Kind))
return EC;
OpenPOWER on IntegriCloud