diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-08 23:27:46 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-08 23:27:46 +0000 |
commit | f385f4ca1c7c3975779400dc2acf494878a8d6d4 (patch) | |
tree | 26f28e35a7802a07d71c8ef60d4e6d27383a1fe6 /lib/AsmParser/LLParser.h | |
parent | 315dc1745b6f81eca278a476f029212d9a4880ed (diff) | |
download | external_llvm-f385f4ca1c7c3975779400dc2acf494878a8d6d4.zip external_llvm-f385f4ca1c7c3975779400dc2acf494878a8d6d4.tar.gz external_llvm-f385f4ca1c7c3975779400dc2acf494878a8d6d4.tar.bz2 |
Use the Attributes::Builder to build the attributes in the parser.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165458 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.h')
-rw-r--r-- | lib/AsmParser/LLParser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/LLParser.h b/lib/AsmParser/LLParser.h index 257c726..671eaf6 100644 --- a/lib/AsmParser/LLParser.h +++ b/lib/AsmParser/LLParser.h @@ -175,7 +175,7 @@ namespace llvm { bool ParseTLSModel(GlobalVariable::ThreadLocalMode &TLM); bool ParseOptionalThreadLocal(GlobalVariable::ThreadLocalMode &TLM); bool ParseOptionalAddrSpace(unsigned &AddrSpace); - bool ParseOptionalAttrs(Attributes &Attrs, unsigned AttrKind); + bool ParseOptionalAttrs(Attributes::Builder &Attrs, unsigned AttrKind); bool ParseOptionalLinkage(unsigned &Linkage, bool &HasLinkage); bool ParseOptionalLinkage(unsigned &Linkage) { bool HasLinkage; return ParseOptionalLinkage(Linkage, HasLinkage); |