llvm-project/clang-tools-extra/docs/clang-tidy
Alexander Kornienko fdfe324da1 [clang-tidy] IncludeInserter: allow <> in header name
This adds a pair of overloads for create(MainFile)?IncludeInsertion methods that
use the presence of the <> in the file name to control whether the #include
directive will use angle brackets or quotes. Motivating examples:
https://reviews.llvm.org/D82089#inline-789412 and
https://github.com/llvm/llvm-project/blob/master/clang-tools-extra/clang-tidy/modernize/MakeSmartPtrCheck.cpp#L433

The overloads with the IsAngled parameter can be removed after the users are
updated.

Update usages of createIncludeInsertion.

Update (almost all) usages of createMainFileIncludeInsertion.

Reviewed By: hokein

Differential Revision: https://reviews.llvm.org/D85666
2020-09-28 15:14:04 +02:00
..
checks [clang-tidy] IncludeInserter: allow <> in header name 2020-09-28 15:14:04 +02:00
Contributing.rst Add an explicit toggle for the static analyzer in clang-tidy 2020-09-10 10:48:17 -04:00
Integrations.rst Fix table formatting after D87686 2020-09-16 12:27:59 +02:00
index.rst Add a new altera check for structure packing and alignment. 2020-09-08 09:35:14 -04:00