aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-12-22 00:37:52 +0000
committerBill Wendling <isanbard@gmail.com>2012-12-22 00:37:52 +0000
commit629fb82419d9bfff6ae475363bcce66192dfcc8e (patch)
tree8ec184d15af2c37f00ead25dd271cdef536e0e22 /utils
parent9679a04da65b33037abac50a54884bb9b7b73698 (diff)
downloadexternal_llvm-629fb82419d9bfff6ae475363bcce66192dfcc8e.zip
external_llvm-629fb82419d9bfff6ae475363bcce66192dfcc8e.tar.gz
external_llvm-629fb82419d9bfff6ae475363bcce66192dfcc8e.tar.bz2
Change 'AttrVal' to 'AttrKind' to better reflect that it's a kind of attribute instead of the value of the attribute.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170972 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/IntrinsicEmitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/TableGen/IntrinsicEmitter.cpp b/utils/TableGen/IntrinsicEmitter.cpp
index faf3470..c4549d1 100644
--- a/utils/TableGen/IntrinsicEmitter.cpp
+++ b/utils/TableGen/IntrinsicEmitter.cpp
@@ -548,7 +548,7 @@ EmitAttributes(const std::vector<CodeGenIntrinsic> &Ints, raw_ostream &OS) {
OS << " AttributeWithIndex AWI[" << maxArgAttrs+1 << "];\n";
OS << " unsigned NumAttrs = 0;\n";
OS << " if (id != 0) {\n";
- OS << " SmallVector<Attribute::AttrVal, 8> AttrVec;\n";
+ OS << " SmallVector<Attribute::AttrKind, 8> AttrVec;\n";
OS << " switch(IntrinsicsToAttributesMap[id - ";
if (TargetOnly)
OS << "Intrinsic::num_intrinsics";