diff options
author | Alexander Kornienko <alexfh@google.com> | 2020-09-28 14:58:27 +0200 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2020-09-28 15:14:04 +0200 |
commit | fdfe324da195ebd9b9c691f006b0d6ccc64365e1 (patch) | |
tree | 8a988f4243a347fb0c968cc26af8fd036389ccef /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | |
parent | bf890dcb0f5eb05b1a98cbd1cdd24c0c4ece8f8d (diff) | |
download | llvm-fdfe324da195ebd9b9c691f006b0d6ccc64365e1.zip llvm-fdfe324da195ebd9b9c691f006b0d6ccc64365e1.tar.gz llvm-fdfe324da195ebd9b9c691f006b0d6ccc64365e1.tar.bz2 |
[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
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions