malcolm.parsons added a comment.

In https://reviews.llvm.org/D28768#647204, @JDevlieghere wrote:

> I wanted to do that but it seems that the test script hard codes it to C++11, 
> and the `auto` return type is a C++14 feature. Maybe I'm mistaken though, but 
> I didn't manage to get it working, even when appending `-- -std=c++14` to the 
> RUN command. Am I missing something?


You need one `--` for check_clang_tidy and one for clang-tidy:
`-- -- -std=c++14`


Repository:
  rL LLVM

https://reviews.llvm.org/D28768



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to