summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-09-19 00:59:19 +0000
committerAdrian Prantl <aprantl@apple.com>2015-09-19 00:59:19 +0000
commit532365abe8cf691dfbc94d9133ecdce65c946780 (patch)
tree5ff2e54e5f0a8049cfcd32b1ff70cae4c9ad600f
parentf3057583e87b65d8302e6f5cd6364d1ab468ed4d (diff)
downloadbcm5719-llvm-532365abe8cf691dfbc94d9133ecdce65c946780.tar.gz
bcm5719-llvm-532365abe8cf691dfbc94d9133ecdce65c946780.zip
Use std::move on these arguments.
llvm-svn: 248076
-rw-r--r--clang/include/clang/AST/ExternalASTSource.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/AST/ExternalASTSource.h b/clang/include/clang/AST/ExternalASTSource.h
index 8f9512947db..ec7978fcc8d 100644
--- a/clang/include/clang/AST/ExternalASTSource.h
+++ b/clang/include/clang/AST/ExternalASTSource.h
@@ -149,8 +149,8 @@ public:
ASTSourceDescriptor(){};
ASTSourceDescriptor(std::string Name, std::string Path, std::string ASTFile,
uint64_t Signature)
- : FullModuleName(Name), Path(Path), ASTFile(ASTFile),
- Signature(Signature){};
+ : FullModuleName(std::move(Name)), Path(std::move(Path)),
+ ASTFile(std::move(ASTFile)), Signature(Signature){};
ASTSourceDescriptor(const Module &M);
std::string FullModuleName;
std::string Path;
OpenPOWER on IntegriCloud