diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2016-06-17 20:41:14 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2016-06-17 20:41:14 +0000 |
commit | 1afc1de4064a73efc04b91ecb2c3dda7e6bb9bef (patch) | |
tree | bbe3e14eee29672ee0006c6c55435d9e181748b9 /llvm/lib/CodeGen/AsmPrinter/DIEHash.h | |
parent | 11582c59d799a651db12b47dd690a02204439ed5 (diff) | |
download | bcm5719-llvm-1afc1de4064a73efc04b91ecb2c3dda7e6bb9bef.tar.gz bcm5719-llvm-1afc1de4064a73efc04b91ecb2c3dda7e6bb9bef.zip |
Apply another batch of fixes from clang-tidy's performance-unnecessary-value-param.
Contains some manual fixes. No functionality change intended.
llvm-svn: 273047
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DIEHash.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DIEHash.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DIEHash.h b/llvm/lib/CodeGen/AsmPrinter/DIEHash.h index 44f0ce88523..996cd7ef3d2 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DIEHash.h +++ b/llvm/lib/CodeGen/AsmPrinter/DIEHash.h @@ -131,7 +131,7 @@ private: void hashLocList(const DIELocList &LocList); /// \brief Hashes an individual attribute. - void hashAttribute(DIEValue Value, dwarf::Tag Tag); + void hashAttribute(const DIEValue &Value, dwarf::Tag Tag); /// \brief Hashes an attribute that refers to another DIE. void hashDIEEntry(dwarf::Attribute Attribute, dwarf::Tag Tag, |