llvm-project/clang-tools-extra/clang-tidy/misc
Duncan P. N. Exon Smith 0065198166 clang-{tools,unittests}: Stop using SourceManager::getBuffer, NFC
Update clang-tools-extra, clang/tools, clang/unittests to migrate from
`SourceManager::getBuffer`, which returns an always dereferenceable
`MemoryBuffer*`, to `getBufferOrNone` or `getBufferOrFake`, both of
which return a `MemoryBufferRef`, depending on whether the call site was
checking for validity of the buffer. No functionality change intended.

Differential Revision: https://reviews.llvm.org/D89416
2020-10-15 00:35:16 -04:00
..
CMakeLists.txt [openmp] Add missing dependencies for OMP.h.inc after d90443b 2020-06-23 11:48:04 -04:00
DefinitionsInHeadersCheck.cpp [clang-tidy] Use ; as separator for HeaderFileExtensions 2020-03-09 11:32:44 -06:00
DefinitionsInHeadersCheck.h [clang-tidy] Use ; as separator for HeaderFileExtensions 2020-03-09 11:32:44 -06:00
MiscTidyModule.cpp [clang-tidy] misc-no-recursion: a new check 2020-02-13 23:37:53 +03:00
MisplacedConstCheck.cpp Extend misc-misplaced-const to detect using declarations as well as typedef 2020-01-22 15:26:11 -05:00
MisplacedConstCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
NewDeleteOverloadsCheck.cpp [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
NewDeleteOverloadsCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
NoRecursionCheck.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
NoRecursionCheck.h [clang-tidy] misc-no-recursion: a new check 2020-02-13 23:37:53 +03:00
NonCopyableObjects.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
NonCopyableObjects.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
NonPrivateMemberVariablesInClassesCheck.cpp [clang-tidy] Implement storeOptions for checks missing it. 2020-06-21 19:01:11 +01:00
NonPrivateMemberVariablesInClassesCheck.h [clang-tidy] Implement storeOptions for checks missing it. 2020-06-21 19:01:11 +01:00
RedundantExpressionCheck.cpp clang-{tools,unittests}: Stop using SourceManager::getBuffer, NFC 2020-10-15 00:35:16 -04:00
RedundantExpressionCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
StaticAssertCheck.cpp clang-{tools,unittests}: Stop using SourceManager::getBuffer, NFC 2020-10-15 00:35:16 -04:00
StaticAssertCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
ThrowByValueCatchByReferenceCheck.cpp [clang-tidy] Implement storeOptions for checks missing it. 2020-06-21 19:01:11 +01:00
ThrowByValueCatchByReferenceCheck.h [clang-tidy] Implement storeOptions for checks missing it. 2020-06-21 19:01:11 +01:00
UnconventionalAssignOperatorCheck.cpp [clang-tidy] misc-unconventional-assign-operator suggest to use rvalue references in C++03 mode 2020-03-18 21:39:23 +00:00
UnconventionalAssignOperatorCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
UniqueptrResetReleaseCheck.cpp [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
UniqueptrResetReleaseCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
UnusedAliasDeclsCheck.cpp [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
UnusedAliasDeclsCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
UnusedParametersCheck.cpp [clang-tidy][NFC] Remove unnecessary includes throughout clang-tidy header files 2020-06-29 16:05:52 +01:00
UnusedParametersCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
UnusedUsingDeclsCheck.cpp [clang-tidy] Fix a false positive about C++17 deduced class template types in unused-using-decl check. 2020-02-03 16:25:10 +01:00
UnusedUsingDeclsCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00