[Trilinos-Users] clang-tidy

Nico Schlömer nico.schloemer at gmail.com
Tue Jun 21 08:11:25 EDT 2016


Hi everyone,

I just played around with clang-tidy [1] and found it really helpful in for
fixing bugs and modernizing my C++ codebases; certainly it'll be
interesting for some of you, too.

For me,
```
clang-tidy * -checks=* -fix -- -I/usr/include/trilinos
-I/usr/include/eigen3 -std=c++11
```
did the trick, but depending on your package, you might need to add other
-I-includes.

Cheers,
Nico

PS: An updated version of the Trilinos history is now online [2].

[1] http://clang.llvm.org/extra/clang-tidy/
[2] https://youtu.be/ZT5_IPOWPMI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20160621/9a43a7c8/attachment.html>


More information about the Trilinos-Users mailing list