fix clang-tidy (#18030)
authorMichael Suo <suo@fb.com>
Fri, 15 Mar 2019 00:27:22 +0000 (17:27 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 15 Mar 2019 00:31:08 +0000 (17:31 -0700)
commit8b32933ea160262bb3c79e9c00dfbc72b2bb2be2
treec7d732b7f44150c009b5d5d95355ce7d0d90cc5c
parente782f200f7a525af4d10ff79d066613d46e23356
fix clang-tidy (#18030)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18030
ghimport-source-id: d68781226eee923c90be862ef54693feef5f1c1a

Stack:
* **#18030 [jit] fix clang-tidy**

fix the following complaint
```
pytorch/torch/csrc/jit/ir.cpp:84:7: error: pass by value and use std::move [modernize-pass-by-value,-warnings-as-errors]
      const std::string& delim = ", ")
      ^~~~~~~~~~~~~~~~~~
      std::string
```

Reviewed By: shannonzhu

Differential Revision: D14466714

fbshipit-source-id: 195cba335ae656db28fc6230b9e56ad208c88c29
torch/csrc/jit/ir.cpp