diff options
author | Reid Kleckner <rnk@google.com> | 2017-04-18 23:50:03 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2017-04-18 23:50:03 +0000 |
commit | cdd26794a9516b4a4f90e46414da3754cbcf78af (patch) | |
tree | 8bd40425f05afc60e176a425ae21963ae1423564 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 9f7cc58f81a43d6f6c413e38e51e0ab68e7b71fc (diff) | |
download | llvm-cdd26794a9516b4a4f90e46414da3754cbcf78af.zip llvm-cdd26794a9516b4a4f90e46414da3754cbcf78af.tar.gz llvm-cdd26794a9516b4a4f90e46414da3754cbcf78af.tar.bz2 |
Use less temporary AttributeLists NFC
llvm-svn: 300628
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index d0b2dd7..c4985ba 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -1020,11 +1020,12 @@ public: /// \param CalleeInfo - The callee information these attributes are being /// constructed for. If valid, the attributes applied to this decl may /// contribute to the function attributes and calling convention. - /// \param PAL [out] - On return, the attribute list to use. + /// \param Attrs [out] - On return, the attribute list to use. /// \param CallingConv [out] - On return, the LLVM calling convention to use. void ConstructAttributeList(StringRef Name, const CGFunctionInfo &Info, - CGCalleeInfo CalleeInfo, AttributeListType &PAL, - unsigned &CallingConv, bool AttrOnCallSite); + CGCalleeInfo CalleeInfo, + llvm::AttributeList &Attrs, unsigned &CallingConv, + bool AttrOnCallSite); /// Adds attributes to F according to our CodeGenOptions and LangOptions, as /// though we had emitted it ourselves. We remove any attributes on F that |