Carlos Galvez
7d2ea6c422
[clang-tidy][NFC] Use C++17 nested namespaces in the clang-tidy folder
...
Fix applied by running:
run-clang-tidy.py -checks=-*,modernize-concat-nested-namespaces
Differential Revision: https://reviews.llvm.org/D141770
2023-01-14 18:51:39 +00: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
Sam McCall
5a8e6afff2
[clang-tidy] Avoid fuchsia-overloaded-operator false positive with lambdas after r351047
...
llvm-svn: 351307
2019-01-16 08:29:54 +00:00
Stephen Kelly
43465bf3fd
Port getLocStart -> getBeginLoc
...
Reviewers: javed.absar
Subscribers: nemanjai, kbarton, ilya-biryukov, ioeric, jkorous, arphaman, jfb, cfe-commits
Differential Revision: https://reviews.llvm.org/D50354
llvm-svn: 339400
2018-08-09 22:42:26 +00:00
Benjamin Kramer
f8c99297d3
[tidy] Move private ast matchers into anonymous namespaces to avoid ODR conflicts.
...
No functionality change intended.
llvm-svn: 325467
2018-02-18 19:02:35 +00:00
Julie Hockett
996a8c1a66
[clang-tidy] Fixing Fuchsia overloaded operator warning message
...
Updating Fuchsia overloaded operator warning message for clarity.
Differential Revision: https://reviews.llvm.org/D42120
llvm-svn: 322692
2018-01-17 17:41:50 +00:00
Julie Hockett
3b8c8e999c
[clang-tidy] Update fuchsia-overloaded-operator to check for valid loc
...
Updating fuchsia-overloaded-operator check to not issue warnings for
invalid locations.
Fixes PR35803.
Differential Revision: https://reviews.llvm.org/D41708
llvm-svn: 321762
2018-01-03 22:10:11 +00:00
Julie Hockett
a966f45b7e
[clang-tidy] Adding Fuchsia checker for overloaded operators
...
Adds a check to the Fuchsia module to warn if an operator is overloaded,
except move and copy operators.
See https://fuchsia.googlesource.com/zircon/+/master/docs/cxx.md for
reference.
Differential Revision: https://reviews.llvm.org/D41363
llvm-svn: 321363
2017-12-22 16:52:25 +00:00