Alexander Kornienko
027899dab6
Remove references to the ast_type_traits namespace
...
Follow up to cd62511496
/
https://reviews.llvm.org/D74499
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D92994
2020-12-11 00:58:46 +01:00
Stephen Kelly
a72307c3a6
Set traversal explicitly where needed in clang-tidy
...
Reviewers: aaron.ballman
Subscribers: nemanjai, kbarton, arphaman, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D72530
2020-05-21 22:34:37 +01:00
Kazuaki Ishizaki
b7ecf1c1c3
NFC: Fix trivial typos in comments
2020-01-04 10:28:41 -05:00
Mark de Wever
8dc7b982b4
[NFC] Fixes -Wrange-loop-analysis warnings
...
This avoids new warnings due to D68912 adds -Wrange-loop-analysis to -Wall.
Differential Revision: https://reviews.llvm.org/D71857
2020-01-01 20:01:37 +01:00
Chandler Carruth
2946cd7010
Update the file headers across all of the LLVM projects in the monorepo
...
to reflect the new license.
We understand that people may be surprised that we're moving the header
entirely to discuss the new license. We checked this carefully with the
Foundation's lawyer and we believe this is the correct approach.
Essentially, all code in the project is now made available by the LLVM
project under our new license, so you will see that the license headers
include that license only. Some of our contributors have contributed
code under our old license, and accordingly, we have retained a copy of
our old license notice in the top-level files in each project and
repository.
llvm-svn: 351636
2019-01-19 08:50:56 +00:00
Clement Courbet
4d260bf0c7
[clang-tidy] cppcoreguidelines-slicing: display discarded state size in bytes
...
https://reviews.llvm.org/D27212
llvm-svn: 290340
2016-12-22 14:12:31 +00:00
Clement Courbet
22c9e93147
Revert "Revert "[clang-tidy] new cppcoreguidelines-slicing""
...
Second try for r276408
llvm-svn: 276415
2016-07-22 13:45:00 +00:00
Clement Courbet
bd7aa358f0
Revert "[clang-tidy] new cppcoreguidelines-slicing"
...
Tests fail on clang-x64-ninja-win7 due to too narrow expectation.
llvm-svn: 276413
2016-07-22 13:33:51 +00:00
Clement Courbet
f67fbfaa8c
[clang-tidy] new cppcoreguidelines-slicing
...
Flags slicing of member variables or vtable. See:
https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#es63-dont-slice
https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#c145-access-polymorphic-objects-through-pointers-and-references
Differential revision:
http://reviews.llvm.org/D21974
llvm-svn: 276408
2016-07-22 12:42:19 +00:00