OSDN Git Service

Remove some 'const' specifiers that do nothing but prevent moving the argument.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sun, 29 May 2016 10:46:35 +0000 (10:46 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sun, 29 May 2016 10:46:35 +0000 (10:46 +0000)
commitac307e44e339f7a05c5ec2ad6f0b3616fa91a8d0
tree6155ca17570a1a9abec1ec2ab7891d4b5d367528
parent2ff22b74ed49f84211ba07ddecf8f3740ee5c785
Remove some 'const' specifiers that do nothing but prevent moving the argument.

Found by clang-tidy's misc-move-const-arg. While there drop some
obsolete c_str() calls.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271181 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Function.h
include/llvm/Transforms/Utils/LoopVersioning.h
lib/AsmParser/LLParser.cpp
lib/Bitcode/Reader/BitcodeReader.cpp
lib/IR/Function.cpp
lib/Transforms/Utils/LoopVersioning.cpp
tools/obj2yaml/Error.h