clang-tools  15.0.0git
Classes | Namespaces | Functions | Variables
Headers.cpp File Reference
#include "Headers.h"
#include "Preamble.h"
#include "SourceCode.h"
#include "clang/Basic/SourceLocation.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Lex/HeaderSearch.h"
#include "clang/Lex/PPCallbacks.h"
#include "clang/Lex/Preprocessor.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Path.h"
#include <cstring>
Include dependency graph for Headers.cpp:

Go to the source code of this file.


class  clang::clangd::IncludeStructure::RecordHeaders


 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//


bool clang::clangd::isLiteralInclude (llvm::StringRef Include)
 Returns true if Include is literal include like "path" or <path>. More...
llvm::Expected< HeaderFile > clang::clangd::toHeaderFile (llvm::StringRef Header, llvm::StringRef HintPath)
 Creates a HeaderFile from Header which can be either a URI or a literal include. More...
llvm::SmallVector< llvm::StringRef, 1 > clang::clangd::getRankedIncludes (const Symbol &Sym)
llvm::raw_ostream & clang::clangd::operator<< (llvm::raw_ostream &OS, const Inclusion &Inc)
bool clang::clangd::operator== (const Inclusion &LHS, const Inclusion &RHS)


const char clang::clangd::IWYUPragmaKeep [] = "// IWYU pragma: keep"
const char clang::clangd::IWYUPragmaExport [] = "// IWYU pragma: export"
const char clang::clangd::IWYUPragmaBeginExports [] = "// IWYU pragma: begin_exports"