#include "../ClangTidyCheck.h"
#include <optional>
#include <string>
Go to the source code of this file.
|
| clang::tidy::utils::IncludeSorter (const SourceManager *SourceMgr, const FileID FileID, StringRef FileName, IncludeStyle Style) |
| Class used by IncludeInserterCallback to record the names of the / inclusions in a given source file being processed and generate the necessary / commands to sort the inclusions according to the precedence encoded in / IncludeKinds.
|
std::optional< FixItHint > | clang::tidy::utils::createIncludeInsertion (StringRef FileName, bool IsAngled) |
| Creates a quoted inclusion directive in the right sort order.
|