clang-tools 22.0.0git
IncludeInserter.h File Reference
#include "IncludeSorter.h"
#include "clang/Basic/Diagnostic.h"
#include "llvm/ADT/StringSet.h"
#include <memory>
#include <optional>

Go to the source code of this file.

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
namespace  clang::tidy
namespace  clang::tidy::utils

Functions

std::optional< FixItHint > clang::tidy::utils::createMainFileIncludeInsertion (llvm::StringRef Header)
 Produces fixes to insert specified includes to source files, if not yet present.
IncludeSorter::IncludeStyle clang::tidy::utils::getStyle () const