summaryrefslogtreecommitdiff
path: root/lib/Bitcode/Writer
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-09-25 20:57:48 +0000
committerBill Wendling <isanbard@gmail.com>2012-09-25 20:57:48 +0000
commit2039a8f83464e900a71f3e846c7749b2d0d8cde2 (patch)
treedacf0108388cd3222ddf09dd65f6261a3f0951a5 /lib/Bitcode/Writer
parent87ed553019846d84849513b0a7e8233b31b58858 (diff)
downloadllvm-2039a8f83464e900a71f3e846c7749b2d0d8cde2.tar.gz
llvm-2039a8f83464e900a71f3e846c7749b2d0d8cde2.tar.bz2
llvm-2039a8f83464e900a71f3e846c7749b2d0d8cde2.tar.xz
Move remaining methods inside the Attributes class. Merge the 'Attribute' namespaces.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164631 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer')
-rw-r--r--lib/Bitcode/Writer/BitcodeWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bitcode/Writer/BitcodeWriter.cpp b/lib/Bitcode/Writer/BitcodeWriter.cpp
index 94ebe190d4..b3f1bb13a9 100644
--- a/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -177,7 +177,7 @@ static void WriteAttributeTable(const ValueEnumerator &VE,
for (unsigned i = 0, e = A.getNumSlots(); i != e; ++i) {
const AttributeWithIndex &PAWI = A.getSlot(i);
Record.push_back(PAWI.Index);
- Record.push_back(Attribute::encodeLLVMAttributesForBitcode(PAWI.Attrs));
+ Record.push_back(Attributes::encodeLLVMAttributesForBitcode(PAWI.Attrs));
}
Stream.EmitRecord(bitc::PARAMATTR_CODE_ENTRY, Record);